sway-config/autostart.conf

58 lines
2.1 KiB
Text

# Things that will get started automatically at startup
exec /home/kellya/bin/sway_screenshare.sh
# greenclip for clipboard management
exec greenclip daemon
exec_always cat /proc/acpi/button/lid/LID/state | awk '{print $2}' | grep -q 'closed' && swaymsg output eDP-1 disable
#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
# Load workspace configs
#exec --no-startup-id "i3-msg 'workspace $ws1; append_layout ~/.config/i3/layout/w1.json'"
#exec --no-startup-id "i3-msg 'workspace $ws2; append_layout ~/.config/i3/layout/w2.json'"
#exec --no-startup-id "i3-msg 'workspace $ws3; append_layout ~/.config/i3/layout/w3.json'"
#exec --no-startup-id "i3-msg 'workspace $ws4; append_layout ~/.config/i3/layout/w4.json'"
#exec --no-startup-id "i3-msg 'workspace $ws5; append_layout ~/.config/i3/layout/w5.json'"
#exec --no-startup-id "i3-msg 'workspace $ws6; append_layout ~/.config/i3/layout/w6.json'"
# disable the urgency flags on all windows at startup
exec ~/bin/disable_startup_urgency.sh
# use gnome settings to set gnome things to dark mode by default
exec /usr/libexec/gsd-xsettings
# Startup logseq
workspace $ws6
exec /home/kellya/bin/logseq
exec /usr/bin/thunderbird
workspace $ws5
# Start spotify from the stupid flatpak
exec --no-startup-id "/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=spotify --file-forwarding com.spotify.Client"
workspace $ws3
exec --no-startup-id "kitty"
exec --no-startup-id "/usr/bin/1password"
# Always need firefox, so let's just start it
workspace $ws1
exec firefox
# start the auto run .desktop files
exec dex-autostart --autostart --environment i3
# 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