This commit is contained in:
sourplum 2019-10-13 21:56:11 +02:00
parent 000dfb96a6
commit 3e3fa5d61f
2 changed files with 9 additions and 0 deletions

4
sway/.scripts/i3GoNext.sh Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env sh
wsNext=$(( $( swaymsg -t get_workspaces | jq '.[] | select(.focused).num' ) + $1))
swaymsg workspace $wsNext

5
sway/.scripts/i3MoveNext.sh Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env sh
wsNext=$(( $( swaymsg -t get_workspaces | jq '.[] | select(.focused).num' ) + $1))
swaymsg move container to workspace $wsNext
swaymsg workspace $wsNext