From 4efb10739681c3c9418accf174caa7a6b5cb52b1 Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Sun, 3 Apr 2022 01:45:34 -0500 Subject: [PATCH] Fix sway exit bind not working --- templates/.config/sway/config | 2 +- templates/.config/swaynag/config | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 templates/.config/swaynag/config diff --git a/templates/.config/sway/config b/templates/.config/sway/config index d789942..92fd6d4 100644 --- a/templates/.config/sway/config +++ b/templates/.config/sway/config @@ -54,7 +54,7 @@ floating_modifier $mod bindsym $mod+Shift+c reload bindsym $mod+Shift+r restart -bindsym $mod+Shift+e swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit' +bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit' bindsym $mod+Shift+q kill bindsym $mod+Shift+p exec swaylock -c 000000 diff --git a/templates/.config/swaynag/config b/templates/.config/swaynag/config new file mode 100644 index 0000000..cd2cd2c --- /dev/null +++ b/templates/.config/swaynag/config @@ -0,0 +1 @@ +font=DejaVu Sans Mono 10