about summary refs log tree commit diff
path: root/home/profiles/gui
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-08-03 12:54:48 +0900
committersefidel <contact@sefidel.net>2023-08-03 12:56:28 +0900
commitb73b56a4f12e4ce29cfa10899e66a560c50c27e9 (patch)
tree2e0acc0fe3c7d53bc074a3f1ad86dc925e68fb63 /home/profiles/gui
parentaf56f6e8fddf7df04072c60691921a03d108805f (diff)
downloadnixrc-b73b56a4f12e4ce29cfa10899e66a560c50c27e9.tar.gz
nixrc-b73b56a4f12e4ce29cfa10899e66a560c50c27e9.zip
feat(gui/sway): Mod+Ctrl+q to enter idle state
Diffstat (limited to 'home/profiles/gui')
-rw-r--r--home/profiles/gui/config/sway.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/home/profiles/gui/config/sway.nix b/home/profiles/gui/config/sway.nix
index 9ed7f6c..5577baf 100644
--- a/home/profiles/gui/config/sway.nix
+++ b/home/profiles/gui/config/sway.nix
@@ -156,6 +156,9 @@ with neotheme.colors;
   # Toggle waybar
   bindsym $mod+b exec pkill -USR1 waybar
 
+  # Idle
+  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'