diff --git a/dot/file/profile b/dot/file/profile index 5101653..ea0e66b 100755 --- a/dot/file/profile +++ b/dot/file/profile @@ -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" diff --git a/river/init b/river/init index 6c0c5c0..3214af1 100755 --- a/river/init +++ b/river/init @@ -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"