fork of river-shifttags
A small utility for the river-classic Wayland compositor to rotate the focused tags. Useful for focusing next/prev tag, or rotating the whole tagmask if multiple tags are in focus.
$ make
$ sudo make installTo rotate the currently focused once to the right
river-shifttagsTo rotate the currently focused once to the left
river-shifttags --shifts -1To rotate a different number of tags
river-shifttags --num-tags 16Use the --occupied flag to skip unoccupied tags while shifting
river-shifttags --shifts -1 --occupiedsuper="Mod4"
riverctl map normal $super BRACKETRIGHT spawn 'river-shifttags --occupied'
riverctl map normal $super BRACKETLEFT spawn 'river-shifttags --shift -1 --occupied'
riverctl map normal $super+Shift BRACKETRIGHT spawn 'river-shifttags'
riverctl map normal $super+Shift BRACKETLEFT spawn 'river-shifttags --shift -1'Please feel free to submit a merge request if you find something to improve in the code. Come across an issue? please report it.
tl;dr contributions welcome.
GPLv3