summary refs log tree commit diff
path: root/.config/sway/binds.conf
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2022-11-24 21:04:18 +0100
committerRobert Günzler <r@gnzler.io>2022-11-24 21:11:03 +0100
commit01ae2efe1192caf4b129ddddc9696ab2872a2271 (patch)
treed532191e391edfe8638fb6ae580b33eea6c743d9 /.config/sway/binds.conf
parente574d523fb612f5a3e4c5fed7cd59a201cf4752b (diff)
add r2mem script and run when lid closes
Diffstat (limited to '.config/sway/binds.conf')
-rw-r--r--.config/sway/binds.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf
index fd15686..619b47b 100644
--- a/.config/sway/binds.conf
+++ b/.config/sway/binds.conf
@@ -246,7 +246,6 @@ mode "menu" {
   bindsym p exec passmenu; mode "default"
   bindsym r exec rcmenu; mode "default"
   # bindsym x exec menu -drun; mode "default"
-  bindsym 6 exec s6menu; mode "default"
   bindsym d exec swdo; mode "default"
 
   bindsym Return mode "default"
@@ -287,3 +286,6 @@ bindsym $mod+F1 exec notify-send "hello from F1"
 bindsym $mod+F2 exec notify-send "hello from F2"
 bindsym $mod+F3 exec notify-send "hello from F3"
 # }}}
+
+# go to sleep when lid is closed
+bindswitch --reload lid:on exec r2mem