.dotfiles/sway/autostart

73 lines
2.2 KiB
Plaintext
Raw Normal View History

2022-04-19 04:45:01 +00:00
# vim: ft=sh
2022-11-21 23:45:57 +00:00
#TODO: Convert to systemd services, where reasonable
2022-04-19 04:45:01 +00:00
################################################################################
# Background utilities
################################################################################
2023-07-06 16:27:35 +00:00
# Start ssh-agent
exec "${HOME}/scripts/ssh-agent.sh" &
2022-04-19 04:45:01 +00:00
# Automatically restore last used output configuration
# TODO: Need to add fail-safe to script in case the outputs are unavailable
2023-06-28 00:29:05 +00:00
exec ${HOME}/scripts/distrobox/debian/displays.sh &
2022-04-19 04:45:01 +00:00
# Enable automatic color temperature change
2023-06-28 00:29:05 +00:00
exec ${HOME}/scripts/distrobox/debian/gammastep.pl &
exec ${HOME}/.local/bin/wl-gammactl -c -1.000 -b 2.000 -g 0.500 -m DP-1 &
2022-04-19 04:45:01 +00:00
2022-12-27 22:09:29 +00:00
# Window transparency
exec systemctl --user restart sway-transparency.service &
2022-12-29 22:49:05 +00:00
# Idle daemon
exec systemctl --user restart swayidle.service &
2022-12-27 22:09:29 +00:00
# Wallpapers
exec systemctl --user restart wallpapers.service &
2022-04-19 04:45:01 +00:00
# Notification daemon
exec mako &
# Tray icons
# TODO: Orage is dead. Find a new calendaring solution
2022-09-23 21:40:04 +00:00
exec squeekboard-restyled &
2022-04-19 04:45:01 +00:00
exec blueman-applet &
exec nextcloud &
exec pasystray &
################################################################################
# Applications by workspace
################################################################################
# 0:cal
# TODO: as above, need new calendaring solution.
# 1:chat
2022-07-21 05:20:06 +00:00
# TODO: Figure out Zith; normal weechat is a placeholder
exec xterm -e /bin/bash -c "ssh -i ~/.ssh/no_pass jpm@john.me.tz -t 'screen -x weechat'" &
2023-01-17 17:52:54 +00:00
exec flatpak run com.mattermost.Desktop --socket=wayland --ozone-platform=wayland --enable-reatures=UseOzonePlatform &
exec flatpak run chat.rocket.RocketChat --socket=wayland --ozone-platform=wayland --enable-reatures=UseOzonePlatform &
2022-04-19 04:45:01 +00:00
# 2:mail - Should also prompt for keyring
2022-06-06 17:54:56 +00:00
exec flatpak run org.mozilla.Thunderbird &
2022-04-19 04:45:01 +00:00
# 3:chrm
# Don't launch chromium because it hogs resources
# exec chromium &
# 5:call
# Currently preferring mobile
#exec linphone &
# 7:FF Dev edition
2022-06-06 17:54:56 +00:00
exec flatpak run org.mozilla.firefox &
2022-07-21 03:38:03 +00:00
# 9:Git (gittyup)
2022-07-21 05:20:31 +00:00
exec flatpak run com.github.Murmele.Gittyup &
# 0:Hud
2023-04-10 01:16:32 +00:00
exec flatpak run com.github.Eloston.UngoogledChromium --app="https://papillon.john.me.tz" --socket=wayland --ozone-platform=wayland --enable-reatures=UseOzonePlatform &
2023-01-17 17:52:54 +00:00
# Assign workspaces to outputs
exec $HOME/scripts/sway/arrange.pl &