about summary refs log tree commit diff
path: root/home/profiles
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-16 12:26:29 +0900
committersefidel <contact@sefidel.net>2023-09-16 12:26:29 +0900
commit03d4eb0b1e16f39e79ea74baf12253f3dc774986 (patch)
treeba583222c416a001d481016914db2544b9617ea5 /home/profiles
parentc7a6272a94873522289af6f7164c0773a1aa8838 (diff)
downloadnixrc-03d4eb0b1e16f39e79ea74baf12253f3dc774986.tar.gz
nixrc-03d4eb0b1e16f39e79ea74baf12253f3dc774986.zip
feat(home/gui): add logout binding
Diffstat (limited to 'home/profiles')
-rw-r--r--home/profiles/gui/config/sway.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/home/profiles/gui/config/sway.nix b/home/profiles/gui/config/sway.nix
index 08ffa4f..ec5592a 100644
--- a/home/profiles/gui/config/sway.nix
+++ b/home/profiles/gui/config/sway.nix
@@ -134,7 +134,7 @@ in
   workspace_auto_back_and_forth no
 
   # reload
-  bindsym $mod+q reload
+  bindsym $mod+r reload
 
   # application shortcuts
   bindsym $mod+a exec qutebrowser
@@ -165,10 +165,9 @@ in
   # Toggle waybar
   bindsym $mod+b exec pkill -USR1 waybar
 
-  # Idle
+  # Session control
+  bindsym $mod+q exec loginctl lock-session
   bindsym $mod+Ctrl+q exec pkill -USR1 swayidle
-
-  # Exit
   bindsym $mod+Shift+q exec swaynag -t warning -m 'Do you really want to exit sway?' -b 'Yes, exit sway' 'swaymsg exit'
 
   # Power