This commit is contained in:
lelgenio 2020-10-06 03:58:33 -03:00
parent 302240df65
commit 6f739f8f12
1 changed files with 6 additions and 7 deletions

View File

@ -327,7 +327,7 @@
exec fusuma
# exec sh -c 'pkill fusuma; fusuma'
# Blue light filter
exec redshift
exec pidof redshift || redshift
# exec_always sh -c 'pkill redshift;redshift'
# kde connect
exec /usr/lib/kdeconnectd
@ -335,18 +335,17 @@
# Telegram
exec telegram-desktop-bin || telegram-desktop
# Music Player Daemon
exec pgrep mpd || mpd
exec pgrep -f mpDris2|| mpDris2
exec pidof mpd || mpd
exec pidof -f mpDris2|| mpDris2
# lock screen after a period of inactivity execp for fullscreen
for_window [class=.*] inhibit_idle fullscreen
set $slock swaylock -f --image $wallPath
exec swayidle -w \
before-sleep "$slock" \
before-sleep "swaylock" \
after-resume 'sleep 5s; displayd' \
lock "$slock" \
timeout 1800 "$slock" \
lock "swaylock" \
timeout 1800 "swaylock" \
timeout 1800 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on;displayd"' \