i3-config/autostart.conf

64 lines
2.5 KiB
Text

# Things that will get started automatically at startup
# greenclip for clipboard management
exec --no-startup-id greenclip daemon
#picom for compositing
exec_always --no-startup-id /usr/bin/picom --backend glx --vsync --fade-exclude 'class_g = "xsecurelock"'
#exec_always --no-startup-id picom --backend glx --vsync --fade-exclude 'class_g = "xsecurelock"'
#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 --no-startup-id 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 --no-startup-id ~/bin/disable_startup_urgency.sh
# use gnome settings to set gnome things to dark mode by default
exec --no-startup-id /usr/libexec/gsd-xsettings
# start background rotator script
exec --no-startup-id ~/bin/bg_rotate.sh
# Always need firefox, so let's just start it
exec --no-startup-id firefox
# Startup logseq
exec --no-startup-id /home/kellya/bin/logseq
# since I'm using thunderbird now, let's pause the neomutt start
# Create a kitty workspace for mail
#exec --no-startup-id "kitty --name mail neomutt"
exec --no-startup-id "kitty"
# start the auto run .desktop files
exec --no-startup-id dex-autostart --autostart --environment i3
# Start redshift, becuase I like not being blinded at night
exec --no-startup-id redshift
# Start thunderbird, because I guess I'm doing that again
exec --no-startup-id /usr/bin/thunderbird
# Switch to the terminal/email workspace by default
exec --no-startup-id "i3-msg workspace $ws3"
# 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"
# Start 1password
exec --no-startup-id "/usr/bin/1password"