Broke up sway config into multiple files
This commit is contained in:
15
.config/sway/autostart
Normal file
15
.config/sway/autostart
Normal file
@@ -0,0 +1,15 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user