Skip to content

gnuunixchad/river-shifttags

Repository files navigation

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.

Installation

$ make
$ sudo make install

Usage

To rotate the currently focused once to the right

river-shifttags

To rotate the currently focused once to the left

river-shifttags --shifts -1

To rotate a different number of tags

river-shifttags --num-tags 16

Use the --occupied flag to skip unoccupied tags while shifting

river-shifttags --shifts -1 --occupied

Example configuration

super="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'

Contributing

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.

License

GPLv3

About

utility for river-classic

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors