about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-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