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
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
# 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