script
This commit is contained in:
parent
000dfb96a6
commit
3e3fa5d61f
2 changed files with 9 additions and 0 deletions
4
sway/.scripts/i3GoNext.sh
Executable file
4
sway/.scripts/i3GoNext.sh
Executable 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
5
sway/.scripts/i3MoveNext.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue