From: Maximilian Friedersdorff Date: Thu, 20 Oct 2022 08:41:21 +0000 (+0100) Subject: Don't sov X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=e3053316585b19cc62dfef370e9f726716f013a9;p=max%2Fsaltfiles.git Don't sov --- diff --git a/states/sway/arch.sls b/states/sway/arch.sls index 44936af..e3a00fd 100644 --- a/states/sway/arch.sls +++ b/states/sway/arch.sls @@ -9,7 +9,6 @@ install sway: - mako - libnotify - dmenu - - sov ensure dmenu-wl wrapper: file.managed: diff --git a/states/sway/files/config.jinja b/states/sway/files/config.jinja index 8758db8..4b30447 100644 --- a/states/sway/files/config.jinja +++ b/states/sway/files/config.jinja @@ -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