From 03d4eb0b1e16f39e79ea74baf12253f3dc774986 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 16 Sep 2023 12:26:29 +0900 Subject: feat(home/gui): add logout binding --- home/profiles/gui/config/sway.nix | 7 +++---- 1 file 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 -- cgit 1.4.1