feat: river: added locking hotkey.
This commit is contained in:
parent
7c842d0ac0
commit
bff5302cc8
2 changed files with 4 additions and 0 deletions
|
@ -89,6 +89,7 @@ export-loop \
|
|||
XCALENDAR '$XTERMINAL -e calcurse' \
|
||||
XPUSH_NOTIFICATION_DAEMON 'dunst' \
|
||||
XNOTIFY 'dunstify' \
|
||||
XLOCKER 'swaylock' \
|
||||
SSH_ASKPASS ''\
|
||||
|
||||
source-if-exist "$ETC/script/lf.sh"
|
||||
|
|
|
@ -47,6 +47,9 @@ riverctl map normal Super+Shift Comma send-to-output -current-tags previous
|
|||
# bump the focused view to the top of the layout stack
|
||||
riverctl map normal Super R zoom
|
||||
|
||||
# Lock the screen.
|
||||
riverctl map normal Super E spawn "riverctl keyboard-layout us && $XLOCKER"
|
||||
|
||||
# Super+H and Super+L to decrease/increase the main ratio of rivertile(1)
|
||||
riverctl map -repeat normal Super H send-layout-cmd rivertile "main-ratio -0.05"
|
||||
riverctl map -repeat normal Super L send-layout-cmd rivertile "main-ratio +0.05"
|
||||
|
|
Loading…
Reference in a new issue