.dotfiles/sway/autostart

54 lines
1.4 KiB
Bash

# vim: ft=sh
################################################################################
# Background utilities
################################################################################
# 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 &
# 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
# TODO: Set up ZNC then use a client that can actually generate notifications
exec xterm -e /bin/bash -c "ssh -i ~/.ssh/no_pass jpm@john.me.tz -t 'screen -x irssi'" &
exec flatpak run com.mattermost.Desktop
# 2:mail - Should also prompt for keyring
exec thunderbird &
# 3:chrm
# Don't launch chromium because it hogs resources
# exec chromium &
# 5:call
# Currently preferring mobile
#exec linphone &
# 7:FF Dev edition
exec $HOME/.local/bin/firefox/firefox-bin &