.dotfiles/sway/autostart

62 lines
1.7 KiB
Plaintext
Raw Permalink Normal View History

2022-04-19 04:45:01 +00:00
# vim: ft=sh
################################################################################
# Background utilities
################################################################################
# Custom SwayIdle script
2022-07-22 00:01:28 +00:00
exec swayidle -w timeout 500 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' &
#exec ${HOME}/scripts/sway/idle.sh start &
2022-04-19 04:45:01 +00:00
# SSH Add - Should be started by profile instead
# exec eval `ssh-agent -a ${SSH_AUTH_SOCK}`
exec ssh-add &
# Automatically restore last used output configuration
# TODO: Need to add fail-safe to script in case the outputs are unavailable
exec $HOME/scripts/sway/displays.pl &
2022-04-19 04:45:01 +00:00
# Enable automatic color temperature change
exec ${HOME}/scripts/sway/gammastep.pl &
# Notification daemon
exec mako &
# Tray icons
# TODO: Orage is dead. Find a new calendaring solution
#exec orage &
exec nm-applet &
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'" &
2022-06-06 17:54:56 +00:00
exec flatpak run com.mattermost.Desktop &
2022-07-21 05:20:06 +00:00
exec flatpak run chat.rocket.RocketChat &
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 &