river: Add monocle mapping if running filtile layout
When using filtile layout it also gives the option of using 'monocle' mode which is similar to fullscreen in that it only shows one window at a time (which also occupies the full screen, except for the statusbar) but you can cycle between the windows shown as you would usually between the different views in a tag. You can imagine the windows 'stacked' on top of each other and cycling which one is on top or on the bottom. Toggled with `Mod+Shift+F`, shifting up from fullscreen mode. TODO: Ideally, it would be accompanied by an indicator in the statusbar but I have no time to create one currently. Without one, it is sometimes hard to remember that other windows exist on the tag after a while.
This commit is contained in:
parent
19bafa910e
commit
5dff1db3db
1 changed files with 6 additions and 0 deletions
|
@ -124,6 +124,12 @@ riverctl map normal $mod+Control L snap right
|
||||||
|
|
||||||
# Mod+F to toggle fullscreen
|
# Mod+F to toggle fullscreen
|
||||||
riverctl map normal $mod F toggle-fullscreen
|
riverctl map normal $mod F toggle-fullscreen
|
||||||
|
# if we are running filtile we also have access to monocle mode
|
||||||
|
if [ "$layout" = "filtile" ]; then
|
||||||
|
riverctl map normal $mod+Shift F spawn "riverctl send-layout-cmd $layout monocle"
|
||||||
|
fi
|
||||||
|
|
||||||
|
riverctl map normal $mod+Shift v toggle-float
|
||||||
|
|
||||||
# shellcheck disable=SC2016
|
# shellcheck disable=SC2016
|
||||||
# Make all connected outputs show the desktop and no windows at all
|
# Make all connected outputs show the desktop and no windows at all
|
||||||
|
|
Loading…
Reference in a new issue