diff --git a/dot/file/profile b/dot/file/profile index ea0e66b..62e713e 100755 --- a/dot/file/profile +++ b/dot/file/profile @@ -90,6 +90,7 @@ export-loop \ XPUSH_NOTIFICATION_DAEMON 'dunst' \ XNOTIFY 'dunstify' \ XLOCKER 'swaylock' \ + XSUSPEND 'systemctl suspend' \ SSH_ASKPASS ''\ source-if-exist "$ETC/script/lf.sh" diff --git a/river/init b/river/init index 3214af1..ebc31a0 100755 --- a/river/init +++ b/river/init @@ -49,6 +49,7 @@ riverctl map normal Super R zoom # Lock the screen. 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) riverctl map -repeat normal Super H send-layout-cmd rivertile "main-ratio -0.05"