This commit is contained in:
Andrey Parhomenko 2024-07-30 23:22:27 +05:00
parent 65ba8d0fbd
commit 57e67569e4

View file

@ -21,7 +21,7 @@ riverctl border-color-unfocused 0x586e75
# Super+Shift+Return to start an instance of foot (https://codeberg.org/dnkl/foot)
riverctl map normal Super+Shift Return spawn 'eval $XTERMINAL'
riverctl map normal Super+Shift T spawn 'eval $XTERMINAL tmux'
riverctl map normal Super+Alt+Shift Return spawn 'eval $XTERMINAL tmux'
#riverctl map normal Super+Alt+Shift Return spawn '$ETC/river/mterm'
# Close the focused view.
@ -77,8 +77,8 @@ riverctl map normal Super+Alt+Control L snap right
# Super+Alt+Shift+{H,J,K,L} to resize views
riverctl map -repeat normal Super+Alt+Shift H resize horizontal -100
riverctl map -repeat normal Super+Alt+Shift J resize vertical 100
riverctl map -repeat normal Super+Alt+Shift K resize vertical -100
riverctl map -repeat normal Super+Alt+Shift K resize vertical 100
riverctl map -repeat normal Super+Alt+Shift J resize vertical -100
riverctl map -repeat normal Super+Alt+Shift L resize horizontal 100
# Super + Left Mouse Button to move views
@ -109,6 +109,10 @@ for i in $(seq 1 9) ; do
riverctl map normal Super+Shift+Alt $i toggle-view-tags $tags
done
# Easy for custom drop down terminal and stuff.
riverctl map normal Super T toggle-focused-tags $((1 << 10))
riverctl map normal Super+Shift T set-view-tags $((1 << 10))
# Super+0 to focus all tags
# Super+Shift+0 to tag focused view with all tags
all_tags=$(((1 << 32) - 1))