From: Amin Bandali Date: Wed, 12 Dec 2018 05:33:20 +0000 (-0500) Subject: [rc/sway] use super+shift+e instead of XF86PowerOff for exit dialog X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/ef29652dbab2cfce3ce17b55ade23be00a227fff [rc/sway] use super+shift+e instead of XF86PowerOff for exit dialog --- 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