sway-config/autostart.conf

55 lines
1.8 KiB
Text

# Things that will get started automatically at startup
exec /home/kellya/bin/sway_screenshare.sh
exec_always cat /proc/acpi/button/lid/LID/state | awk '{print $2}' | grep -q 'closed' && swaymsg output eDP-1 disable
exec copyq --start-server
exec /usr/bin/swaync
exec export YDOTOOL_SOCKET=/tmp/.ydotool_socket
exec ydotoold
#password keyring unlock
#exec --no-startup-id /home/kellya/projects/public/gnome-keyring-yubikey-unlock/unlock_keyrings.sh /home/kellya/gnome-secret
# start nm-applet for network tray icon
exec nm-applet
# Set screen lock
#exec xset s 300 5
#exec xss-lock -n /usr/libexec/xsecurelock/dimmer -l -- xsecurelock
#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock -c 04090e --nofork
# use gnome settings to set gnome things to dark mode by default
exec /usr/libexec/gsd-xsettings
workspace $ws6
exec /usr/bin/thunderbird
exec /home/kellya/bin/logseq
# Start spotify from the stupid flatpak
workspace $ws5
exec "/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=spotify --file-forwarding com.spotify.Client"
workspace $ws3
exec kitty
exec /home/kellya/.config/sway/scripts/i3-toolwait --nocheck --waitfor 1password 1password
workspace $ws2
exec "flatpak run com.slack.Slack"
exec "/opt/teams-for-linux/teams-for-linux --optInTeamsV2 true"
# Always need firefox, so let's just start it
workspace $ws1
exec firefox
#exec "swaymsg workspace $ws1; /home/kellya/.config/sway/scripts/i3-toolwait --nocheck --waitfor firefox firefox"
# start the auto run .desktop files
exec dex-autostart --autostart --environment sway
# Start redshift, becuase I like not being blinded at night
#exec --no-startup-id redshift
# Switch to the terminal/email workspace by default
workspace $ws3
exec /home/kellya/bin/bg_rotate_sway.sh
exec ~/.local/bin/solaar -w hide -b symbolic
exec swayosd-server