dotfiles/.config/i3/i3next.sh
2022-01-21 13:18:54 -06:00

3 lines
107 B
Bash
Executable file

wsNext=$(( $( i3-msg -t get_workspaces | jq '.[] | select(.focused).num' ) + $1))
i3-msg workspace $wsNext