toggle between grid and max = tab layout
super=Mod4
hc keybind $super-Tab \
or , and . compare tags.focus.tiling.focused_frame.algorithm = max \
. chain - set_layout grid - attr theme.title_height 0 \
, chain - set_layout max - attr theme.title_height 17
emulate a master and stack layout
hlwm has no native master layout (with a main window, and a row of small windows below it), but you can easily emulate one.
Assuming you've a single terminal open, these calls to herbstclient will do the trick :
alias hc=herbstclient
hc split bottom 0.618
hc focus down
# launch a terminal in the bottom frame
hc set_layout horizontal
# launch other terminals
Of course, you want to bind all these calls to herbstclient to the keys of your choice, then use it on any window.
A similar trick can lead you to a main window with a column of small windows on the right.
super-t to toggle window titles
super=Mod4
hc keybind super-t \
or , and . compare theme.title_height = 0 \
. attr theme.title_height 17 \
, attr theme.title_height 0
have super-tab cycle windows or go to last tag/workspace
cross-posted from: https://lemmy.world/post/31707001
cross-posted from: https://lemmy.world/post/31706975
If there is more than one window in current frame, cycle them. Else, go to previous workspace aka tag :
super=Mod4 hc keybind $super-Tab \ or , and . compare tags.focus.curframe_wcount ge 2 \ . cycle +1 \ , use_previous