X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fsway%2Ffiles%2Fconfig.jinja;h=7d11eb0f40c55cd132bb57f5a945a0043c95180b;hb=259bec4164a0274cdd2a834be672468a611c7c54;hp=8758db845dfbae1d5dce07e74768bafb2908db44;hpb=c83a2b0fed03a506d8148d36d0ad36444c9b3315;p=max%2Fsaltfiles.git diff --git a/states/sway/files/config.jinja b/states/sway/files/config.jinja index 8758db8..7d11eb0 100644 --- a/states/sway/files/config.jinja +++ b/states/sway/files/config.jinja @@ -46,7 +46,7 @@ set $term foot # Your preferred application launcher # Note: pass the final command to swaymsg so that the resulting window can be opened # on the original workspace that the command was run on. -set $menu dmenu_path | wofi --dmenu | xargs swaymsg exec -- +set $menu dmenu_path | rofi --dmenu | xargs swaymsg exec -- include /etc/sway/config-vars.d/* @@ -191,16 +191,12 @@ input 1133:49948:Logitech_USB_Keyboard { # # Switch to workspace {% for i in range(10) %} - bindsym --no-repeat $mod+{{ i }} workspace number {{ i }}; exec "echo 1 > /tmp/sovpipe" - bindsym --release $mod+{{ i }} exec "echo 0 > /tmp/sovpipe" + bindsym $mod+{{ i }} workspace number {{ i }} # Move focused container to workspace bindsym $mod+Shift+{{ i }} move container to workspace number {{ i }} {% endfor %} - bindsym --no-repeat $mod+Shift exec "echo 1 > /tmp/sovpipe" - bindsym --release $mod+Shift exec "echo 0 > /tmp/sovpipe" - # # Layout stuff: # @@ -271,8 +267,6 @@ include /etc/sway/config.d/* {%- do salt.log.error('sway/files/' + host) -%} {% include 'sway/files/' + host %} -exec rm -f /tmp/sovpipe && mkfifo /tmp/sovpipe && tail -f /tmp/sovpipe | sov - for_window [app_id="zoom" title="^zoom$"] border none, floating enable for_window [app_id="zoom" title="^(Zoom|About)$"] border pixel, floating enable for_window [app_id="zoom" title="Settings"] floating enable, floating_minimum_size 960 x 700