Browse Source

got swayidle working on Golem

master
Josh Fabean 4 years ago
parent
commit
2c4b35e3a3
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      .config/sway/golem-sway

+ 6
- 5
.config/sway/golem-sway View File

@ -19,11 +19,12 @@ bindsym $mod+q kill
# lock screen
bindsym $mod+$alt+s exec swaylock
#exec swayidle \
# timeout 300 'swaylock -c 00005599' \
# timeout 600 'swaymsg "output * dpms off"' \
# resume 'swaymsg "output * dpms on"' \
# before-sleep 'swaylock -c 00005599'
exec swayidle -w \
timeout 300 'swaylock'
exec swayidle -w \
timeout 600 'swaymsg "output * dpms off"'\
resume 'swaymsg "output * dpms on"'
# before-sleep 'swaylock'
# start rofi (a program launcher)
bindsym XF86LaunchA exec --no-startup-id rofi -show run


Loading…
Cancel
Save