aboutsummaryrefslogtreecommitdiff
path: root/.scripts/environment
blob: 47ecf2b7d9ba83cb22c988c0abea998aa5b287ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env sh

notify-send -t 10000 -i "dialog-xml-editor" "Waiting for internet connection..."
while ! ping -qc1 8.8.8.8 ; do sleep 0.1 ; done
notify-send -t 2000 -i "dialog-yes" "Found network"
notify-send -t 5000 -i "dialog-layers" "Starting programs"

exec qutebrowser &
exec st &

exec telegram-desktop &
exec signal-desktop &
exec discord &
exec whatsapp-nativefier-dark &
exec thunderbird &

notify-send -t 10000 -i "im-user" "Welcome back, Melvin!"

# Musica! :)
exec spotify &
sleep 5
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Play