summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-12-12 00:33:20 -0500
committerAmin Bandali <bandali@gnu.org>2018-12-12 00:33:20 -0500
commitef29652dbab2cfce3ce17b55ade23be00a227fff (patch)
treeae4c992c377096aae1cfe3a7f4d21bb2c1258ee6
parent7d1b2f9ae4bacd453401c2cca174a2a5f85fe0ad (diff)
downloadconfigs-ef29652dbab2cfce3ce17b55ade23be00a227fff.tar.gz
configs-ef29652dbab2cfce3ce17b55ade23be00a227fff.tar.xz
configs-ef29652dbab2cfce3ce17b55ade23be00a227fff.zip
[rc/sway] use super+shift+e instead of XF86PowerOff for exit dialog
Diffstat (limited to '')
-rw-r--r--rc.org11
1 files 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