sway: alias the window switcher path
This commit is contained in:
parent
a29c459e22
commit
00f5db8010
@ -426,6 +426,7 @@ bindsym
|
||||
#
|
||||
# Workspaces:
|
||||
#
|
||||
set $ws exec --no-startup-id ~/.local/bin/swws.py
|
||||
# Switch to workspace
|
||||
bindsym --to-code
|
||||
{
|
||||
@ -434,62 +435,62 @@ bindsym --to-code
|
||||
$mod+Shift+tab workspace back_and_forth
|
||||
$mod+comma focus output left
|
||||
$mod+period focus output right
|
||||
$mod+0 exec ~/.local/bin/swws.py 0
|
||||
$mod+1 exec ~/.local/bin/swws.py 1
|
||||
$mod+2 exec ~/.local/bin/swws.py 2
|
||||
$mod+3 exec ~/.local/bin/swws.py 3
|
||||
$mod+4 exec ~/.local/bin/swws.py 4
|
||||
$mod+5 exec ~/.local/bin/swws.py 5
|
||||
$mod+6 exec ~/.local/bin/swws.py 6
|
||||
$mod+7 exec ~/.local/bin/swws.py 7
|
||||
$mod+8 exec ~/.local/bin/swws.py 8
|
||||
$mod+9 exec ~/.local/bin/swws.py 9
|
||||
$mod+0 $ws 0
|
||||
$mod+1 $ws 1
|
||||
$mod+2 $ws 2
|
||||
$mod+3 $ws 3
|
||||
$mod+4 $ws 4
|
||||
$mod+5 $ws 5
|
||||
$mod+6 $ws 6
|
||||
$mod+7 $ws 7
|
||||
$mod+8 $ws 8
|
||||
$mod+9 $ws 9
|
||||
$mod+F2 workspace C
|
||||
$mod+F3 workspace M
|
||||
}
|
||||
# Switch directly to workspace of another monitor
|
||||
bindsym --to-code
|
||||
{
|
||||
$mod+ctrl+0 exec "~/.local/bin/swws.py 0 -c"
|
||||
$mod+ctrl+1 exec "~/.local/bin/swws.py 1 -c"
|
||||
$mod+ctrl+2 exec "~/.local/bin/swws.py 2 -c"
|
||||
$mod+ctrl+3 exec "~/.local/bin/swws.py 3 -c"
|
||||
$mod+ctrl+4 exec "~/.local/bin/swws.py 4 -c"
|
||||
$mod+ctrl+5 exec "~/.local/bin/swws.py 5 -c"
|
||||
$mod+ctrl+6 exec "~/.local/bin/swws.py 6 -c"
|
||||
$mod+ctrl+7 exec "~/.local/bin/swws.py 7 -c"
|
||||
$mod+ctrl+8 exec "~/.local/bin/swws.py 8 -c"
|
||||
$mod+ctrl+9 exec "~/.local/bin/swws.py 9 -c"
|
||||
$mod+ctrl+0 $ws 0 -c
|
||||
$mod+ctrl+1 $ws 1 -c
|
||||
$mod+ctrl+2 $ws 2 -c
|
||||
$mod+ctrl+3 $ws 3 -c
|
||||
$mod+ctrl+4 $ws 4 -c
|
||||
$mod+ctrl+5 $ws 5 -c
|
||||
$mod+ctrl+6 $ws 6 -c
|
||||
$mod+ctrl+7 $ws 7 -c
|
||||
$mod+ctrl+8 $ws 8 -c
|
||||
$mod+ctrl+9 $ws 9 -c
|
||||
}
|
||||
# Move focused container to workspace
|
||||
bindsym --to-code
|
||||
{
|
||||
$mod+Shift+0 exec "~/.local/bin/swws.py 0 -s"
|
||||
$mod+Shift+1 exec "~/.local/bin/swws.py 1 -s"
|
||||
$mod+Shift+2 exec "~/.local/bin/swws.py 2 -s"
|
||||
$mod+Shift+3 exec "~/.local/bin/swws.py 3 -s"
|
||||
$mod+Shift+4 exec "~/.local/bin/swws.py 4 -s"
|
||||
$mod+Shift+5 exec "~/.local/bin/swws.py 5 -s"
|
||||
$mod+Shift+6 exec "~/.local/bin/swws.py 6 -s"
|
||||
$mod+Shift+7 exec "~/.local/bin/swws.py 7 -s"
|
||||
$mod+Shift+8 exec "~/.local/bin/swws.py 8 -s"
|
||||
$mod+Shift+9 exec "~/.local/bin/swws.py 9 -s"
|
||||
$mod+Shift+0 $ws 0 -s
|
||||
$mod+Shift+1 $ws 1 -s
|
||||
$mod+Shift+2 $ws 2 -s
|
||||
$mod+Shift+3 $ws 3 -s
|
||||
$mod+Shift+4 $ws 4 -s
|
||||
$mod+Shift+5 $ws 5 -s
|
||||
$mod+Shift+6 $ws 6 -s
|
||||
$mod+Shift+7 $ws 7 -s
|
||||
$mod+Shift+8 $ws 8 -s
|
||||
$mod+Shift+9 $ws 9 -s
|
||||
$mod+Shift+F2 move container to workspace C
|
||||
$mod+Shift+F3 move container to workspace M
|
||||
}
|
||||
# Move focused container to workspace of another monitor
|
||||
bindsym --to-code
|
||||
{
|
||||
ctrl+$mod+Shift+0 exec "~/.local/bin/swws.py 0 -t"
|
||||
ctrl+$mod+Shift+1 exec "~/.local/bin/swws.py 1 -t"
|
||||
ctrl+$mod+Shift+2 exec "~/.local/bin/swws.py 2 -t"
|
||||
ctrl+$mod+Shift+3 exec "~/.local/bin/swws.py 3 -t"
|
||||
ctrl+$mod+Shift+4 exec "~/.local/bin/swws.py 4 -t"
|
||||
ctrl+$mod+Shift+5 exec "~/.local/bin/swws.py 5 -t"
|
||||
ctrl+$mod+Shift+6 exec "~/.local/bin/swws.py 6 -t"
|
||||
ctrl+$mod+Shift+7 exec "~/.local/bin/swws.py 7 -t"
|
||||
ctrl+$mod+Shift+8 exec "~/.local/bin/swws.py 8 -t"
|
||||
ctrl+$mod+Shift+9 exec "~/.local/bin/swws.py 9 -t"
|
||||
ctrl+$mod+Shift+0 $ws 0 -t
|
||||
ctrl+$mod+Shift+1 $ws 1 -t
|
||||
ctrl+$mod+Shift+2 $ws 2 -t
|
||||
ctrl+$mod+Shift+3 $ws 3 -t
|
||||
ctrl+$mod+Shift+4 $ws 4 -t
|
||||
ctrl+$mod+Shift+5 $ws 5 -t
|
||||
ctrl+$mod+Shift+6 $ws 6 -t
|
||||
ctrl+$mod+Shift+7 $ws 7 -t
|
||||
ctrl+$mod+Shift+8 $ws 8 -t
|
||||
ctrl+$mod+Shift+9 $ws 9 -t
|
||||
}
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user