diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-09 10:18:20 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-09 10:18:20 -0700 |
commit | 0cac01446c9ac3d55c0ed2a63312972dbd5a102e (patch) | |
tree | a0089db9c1e2ac0dda4c73103616772aba8a8deb /.config | |
parent | c8b9990e15948ddf30282d4a8f6c52cf31542d7c (diff) | |
download | dotfiles-0cac01446c9ac3d55c0ed2a63312972dbd5a102e.tar.gz |
add a binding to toggle off caffeinated mark, wherever it is
Diffstat (limited to '.config')
-rw-r--r-- | .config/sway/config | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/sway/config b/.config/sway/config index a0963a40..b9e12447 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -156,7 +156,7 @@ mode "C-i-" { bindsym slash exec ~/src/dotfiles/scripts/desktop/wofi_window, mode "default" # reload the configuration file - bindsym Shift+c reload, mode "default" + bindsym Ctrl+Shift+c reload, mode "default" # exit i3 (logs you out of your X session) bindsym Ctrl+Shift+e exit @@ -205,6 +205,9 @@ mode "C-i-" { mark --toggle caffeinated; \ exec pkill -u $USER -f --signal USR1 i3status-wrapper; \ mode "default" + bindsym Shift+c [con_mark=caffeinated] mark --toggle caffeinated, \ + exec pkill -u $USER -f --signal USR1 i3status-wrapper; \ + mode "default" # This says: resize so that an Emacs window taking up the rest of the # width has (eq (frame-width) 160). So should be <<33. The value 32 |