dotfiles/.config/sway/config.d/99-autostart.conf

24 lines
870 B
Plaintext
Executable File

# enable numlock
input * xkb_numlock enable
exec {
'[ -x "$(command -v blueman-applet)" ] && blueman-applet'
#'[ -x "$(command -v ~/.config/waybar/scripts/battery-notification.sh)" ] && ~/.config/waybar/scripts/battery-notification.sh'
# Default wallpaper
swaybg -o $int_monitor -i $background
swaybg -o $ext_monitor -i $background
}
exec_always {
emacs --daemon
gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'
gsettings set org.gnome.desktop.interface icon-theme 'Adwaita'
gsettings set org.gnome.desktop.interface cursor-theme 'Adwaita'
systemctl --user import-environment
test -e $SWAYSOCK.wob || mkfifo $SWAYSOCK.wob
tail -f $SWAYSOCK.wob | $wob
swaync --style ~/.config/sway/swaync/style.css --config ~/.config/sway/swaync/config.json
}
exec /usr/libexec/polkit-gnome-authentication-agent-1