milgra / sov

An overlay that shows schemas for all workspaces to make navigation in sway easier.
GNU General Public License v3.0
321 stars 14 forks source link

Repeating the `workspace next` sway action causes the sov overview to repeat, as in compound. So the opacity increases per keypress #48

Closed martisj closed 11 months ago

martisj commented 11 months ago

Is there anything I can do to counteract this? Kooha-2023-11-28-14-29-57.webm This is my config:

    bindsym --no-repeat $mod+Tab workspace next; exec "echo 1 > /tmp/sovpipe"
    bindsym --release $mod+Tab exec "echo 0 > /tmp/sovpipe"
    bindsym --no-repeat $mod+Shift+Tab workspace prev; exec "echo 1 > /tmp/sovpipe"
    bindsym --release $mod+Shift+Tab exec "echo 0 > /tmp/sovpipe"

    # Switch to workspace with `sov` integration
    # Attempted holdkey style functionality with win-key: `sov -k 65515`
    # exec_always rm -f /tmp/sovpipe && mkfifo /tmp/sovpipe && tail -f /tmp/sovpipe | sov -k 65515
    exec_always "pkill sov; rm -f /tmp/sovpipe && mkfifo /tmp/sovpipe && tail -f /tmp/sovpipe | sov -k 65515"

    bindsym --no-repeat $mod+1              workspace $ws1; exec "echo 1 > /tmp/sovpipe"
    bindsym --no-repeat Control+$Alt+$mod+p workspace $ws1; exec "echo 1 > /tmp/sovpipe"
    bindsym --no-repeat $mod+2              workspace $ws2; exec "echo 1 > /tmp/sovpipe"
    bindsym --no-repeat Control+$mod+$Alt+o workspace $ws2; exec "echo 1 > /tmp/sovpipe"
    bindsym --no-repeat $mod+3              workspace $ws3; exec "echo 1 > /tmp/sovpipe"
    bindsym --no-repeat Control+$mod+$Alt+c workspace $ws3; exec "echo 1 > /tmp/sovpipe"
    bindsym --no-repeat $mod+4              workspace $ws4; exec "echo 1 > /tmp/sovpipe"
    bindsym --no-repeat Control+$mod+$Alt+i workspace $ws4; exec "echo 1 > /tmp/sovpipe"
    bindsym --no-repeat $mod+5              workspace $ws5; exec "echo 1 > /tmp/sovpipe"
    bindsym --no-repeat $mod+6              workspace $ws6; exec "echo 1 > /tmp/sovpipe"
    bindsym --no-repeat $mod+7              workspace $ws7; exec "echo 1 > /tmp/sovpipe"
    bindsym --no-repeat $mod+8              workspace $ws8; exec "echo 1 > /tmp/sovpipe"
    bindsym --no-repeat $mod+9              workspace $ws9; exec "echo 1 > /tmp/sovpipe"
    bindsym --no-repeat $mod+0              workspace $ws10; exec "echo 1 > /tmp/sovpipe"

    bindsym --release $mod+1 exec "echo 0 > /tmp/sovpipe"
    bindsym --release Control+$Alt+$mod+p exec "echo 0 > /tmp/sovpipe"
    bindsym --release $mod+2 exec "echo 0 > /tmp/sovpipe"
    bindsym --release Control+$mod+$Alt+o exec "echo 0 > /tmp/sovpipe"
    bindsym --release $mod+3 exec "echo 0 > /tmp/sovpipe"
    bindsym --release Control+$mod+$Alt+c exec "echo 0 > /tmp/sovpipe"
    bindsym --release $mod+4 exec "echo 0 > /tmp/sovpipe"
    bindsym --release Control+$mod+$Alt+i exec "echo 0 > /tmp/sovpipe"
    bindsym --release $mod+5 exec "echo 0 > /tmp/sovpipe"
    bindsym --release $mod+6 exec "echo 0 > /tmp/sovpipe"
    bindsym --release $mod+7 exec "echo 0 > /tmp/sovpipe"
    bindsym --release $mod+8 exec "echo 0 > /tmp/sovpipe"
    bindsym --release $mod+9 exec "echo 0 > /tmp/sovpipe"
    bindsym --release $mod+0 exec "echo 0 > /tmp/sovpipe"
milgra commented 11 months ago

Hi, it is fixed in the latest version.