diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-05 15:00:05 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-05 15:00:05 -0700 |
commit | 866e64ad1bba34201734d6b1b4ec44447622607b (patch) | |
tree | ca62dcb7a55e802358abf97ade51da498062e1ca /.config | |
parent | 0538a5301e366e4cb49fcfe63f3caf48ee5768e0 (diff) | |
download | dotfiles-866e64ad1bba34201734d6b1b4ec44447622607b.tar.gz |
make it possible to suspend even when locked
Diffstat (limited to '.config')
-rw-r--r-- | .config/sway/config | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/sway/config b/.config/sway/config index 87e6c5b2..439c8a82 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -45,7 +45,7 @@ mode "C-i-" { bindsym l exec loginctl lock-session, mode "default" # go to sleep -- xss-lock will lock screen - bindsym Shift+l exec systemctl suspend, mode "default" + bindsym --locked Shift+l exec systemctl suspend, mode "default" # kill focused window bindsym k kill, mode "default" @@ -219,14 +219,14 @@ mode "C-i-" { # is based on Cousine and the other is based on Inconsolata) bindsym equal resize set width 39 ppt, mode "default" - bindsym space mode "default" - bindsym Ctrl+g mode "default" + bindsym --locked space mode "default" + bindsym --locked Ctrl+g mode "default" } # C-i is perfect for window manager bindings because it will never be # bound in my Emacs config, as text terminals typically cannot # distinguish between <tab> and C-i -bindsym Ctrl+i mode "C-i-" +bindsym --locked Ctrl+i mode "C-i-" for_window [title="irssi"] mark irssi for_window [con_mark=caffeinated] inhibit_idle visible |