This commit is contained in:
opalvault
2022-03-18 16:44:58 -07:00
parent 686ec205be
commit 50c027b6be
3 changed files with 15 additions and 18 deletions

View File

@@ -144,6 +144,9 @@ bindsym $mod+Shift+g exec grimshot save area
bindsym $mod+Mod1+g exec grimshot save output
bindsym $mod+Ctrl+g exec grimshot save window
# Turn the system off
bindsym $mod+Shift+e exec swaynag -t custom -m 'What action would you like to perform?' -b 'Shutdown' 'poweroff' -b 'Restart' 'poweroff --reboot' -b 'Suspend' 'systemctl suspend'
# Notifications
exec_always --no-startup-id dunst
@@ -192,12 +195,10 @@ for_window [app_id="galendae"] floating enable, sticky enable, move position cur
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
exec swayidle -w \
timeout 300 'swaylock -f' \
timeout 1200 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
timeout \
before-sleep 'swaylock -f'
exec swayidle -w timeout 60 'swaylock -f' \
# timeout 600 'swaymsg "output * dpms off"' \
# resume 'swaymsg "output * dpms on"' \
# before-sleep 'swaylock -f'
### Input configuration
#