From ef29652dbab2cfce3ce17b55ade23be00a227fff Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Wed, 12 Dec 2018 00:33:20 -0500 Subject: [PATCH] [rc/sway] use super+shift+e instead of XF86PowerOff for exit dialog --- rc.org | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/rc.org b/rc.org index 3f85136..fd8b803 100644 --- a/rc.org +++ b/rc.org @@ -3899,7 +3899,7 @@ exec swayidle \ bindsym $mod+Shift+c reload # exit sway (logs you out of your wayland session) - bindsym $mod+Shift+e exit + # bindsym $mod+Shift+e exit bindsym $mod+apostrophe exec rofi-light # rofi-based brightness chooser bindsym XF86MonBrightnessUp exec light -A 5 # increase screen brightness @@ -4054,7 +4054,8 @@ mode "$mode_system" { bindsym Escape mode "default" bindsym q mode "default" } -bindsym XF86PowerOff mode "$mode_system" +# bindsym XF86PowerOff mode "$mode_system" +bindsym $mod+Shift+e mode "$mode_system" # # Presentation mode @@ -4110,9 +4111,9 @@ font pango: DejaVu Sans Mono 9 # font pango: Liberation Mono 9 exec xrdb .Xresources -exec pgrep -x "systemd-inhibit" || \ - systemd-inhibit --what=handle-power-key --who=aminb \ - --why="Handle power button in sway" sleep infinity +# exec pgrep -x "systemd-inhibit" || \ +# systemd-inhibit --what=handle-power-key --who=aminb \ +# --why="Handle power button in sway" sleep infinity exec mako 2>&1 >/tmp/mako.log exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 -- 2.20.1