feat: river: implemented suspending.
This commit is contained in:
parent
bff5302cc8
commit
59e32b7e44
2 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,7 @@ export-loop \
|
||||||
XPUSH_NOTIFICATION_DAEMON 'dunst' \
|
XPUSH_NOTIFICATION_DAEMON 'dunst' \
|
||||||
XNOTIFY 'dunstify' \
|
XNOTIFY 'dunstify' \
|
||||||
XLOCKER 'swaylock' \
|
XLOCKER 'swaylock' \
|
||||||
|
XSUSPEND 'systemctl suspend' \
|
||||||
SSH_ASKPASS ''\
|
SSH_ASKPASS ''\
|
||||||
|
|
||||||
source-if-exist "$ETC/script/lf.sh"
|
source-if-exist "$ETC/script/lf.sh"
|
||||||
|
|
|
@ -49,6 +49,7 @@ riverctl map normal Super R zoom
|
||||||
|
|
||||||
# Lock the screen.
|
# Lock the screen.
|
||||||
riverctl map normal Super E spawn "riverctl keyboard-layout us && $XLOCKER"
|
riverctl map normal Super E spawn "riverctl keyboard-layout us && $XLOCKER"
|
||||||
|
riverctl map normal Super+Alt E spawn "riverctl keyboard-layout us && $XLOCKER & $XSUSPEND"
|
||||||
|
|
||||||
# Super+H and Super+L to decrease/increase the main ratio of rivertile(1)
|
# 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 H send-layout-cmd rivertile "main-ratio -0.05"
|
||||||
|
|
Loading…
Reference in a new issue