dotfiles/.config/i3/i3next.sh

3 lines
107 B
Bash
Raw Normal View History

2022-01-21 11:22:06 -06:00
wsNext=$(( $( i3-msg -t get_workspaces | jq '.[] | select(.focused).num' ) + $1))
i3-msg workspace $wsNext