2021-07-02 16:40:51 +02:00
|
|
|
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
|
|
|
exec hash dbus-update-activation-environment 2>/dev/null && \
|
|
|
|
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
|
|
|
|
|
|
|
exec "systemctl --user start avizo"
|
|
|
|
exec "systemctl --user start waybar"
|
|
|
|
exec "systemctl --user start mako"
|
|
|
|
exec "systemctl --user start gammastep"
|
|
|
|
exec "systemctl --user start kanshi"
|
2021-07-14 14:47:58 +02:00
|
|
|
exec "systemctl --user start greenclip"
|
2021-08-04 17:55:22 +02:00
|
|
|
exec "systemctl --user import-environment; systemctl --user start swayidle"
|
|
|
|
# exec swayidle -w \
|
|
|
|
# timeout 300 '$lock' \
|
|
|
|
# timeout 305 'swaymsg "output * dpms off"' \
|
|
|
|
# timeout 5 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \
|
|
|
|
# resume 'swaymsg "output * dpms on"' \
|
|
|
|
# before-sleep '$lock'
|