16 lines
602 B
Plaintext
16 lines
602 B
Plaintext
# Autostart
|
|
## Screen configuration
|
|
exec_always export hostname="$(cat /etc/hostname)" && ~/.config/screenlayout/apply-screen-layout.sh
|
|
## Applications
|
|
exec --no-startup-id blueman-applet
|
|
exec --no-startup-id bitwarden-desktop
|
|
exec --no-startup-id sunshine
|
|
## Lock screen when idle, also shut down screens
|
|
exec swayidle -w \
|
|
timeout 600 $swaylock \
|
|
timeout 630 'swaymsg "output * power off"' \
|
|
resume 'swaymsg "output * power on"'
|
|
## Start XDG autostart .desktop files using dex. See also
|
|
### https://wiki.archlinux.org/index.php/XDG_Autostart
|
|
exec --no-startup-id dex --autostart --environment i3
|