Add kanshi for display management

main
Ensar Sarajčić 2022-07-20 21:43:22 +02:00
parent 65e258bc9b
commit c515582f5f
5 changed files with 9 additions and 3 deletions

View File

@ -4,6 +4,7 @@ aerc
fish
foot
htop
kanshi
ulauncher
waybar
wl-clipboard

View File

@ -4,6 +4,7 @@ aerc
fish
foot
htop
kanshi
ulauncher
waybar
wl-clipboard

View File

@ -4,6 +4,7 @@ aerc
fish
foot
htop
kanshi
ulauncher
waybar
wl-clipboard

View File

@ -1,9 +1,11 @@
# Define locker script
set $locker swaylock -f -i "$(shuf -n1 -e ~/Pictures/Lockscreens/*.png)" -s fill
set $locker 'swaylock -f -i "$(shuf -n1 -e ~/Pictures/Lockscreens/*.png)" -s fill'
bindsym $alt+L exec $locker
# IDLE CONFIG
exec swayidle -w \
timeout 300 $locker \
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep $locker
timeout 330 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
timeout 600 'systemctl suspend' \
before-sleep $locker \
before-sleep 'playerctl pause'

View File

@ -4,3 +4,4 @@ exec kdeconnect-indicator
exec ulauncher --hide-window
exec libinput-gestures-setup start
exec foot --server
exec kanshi