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

notify-send -u critical "Waiting for internet connection..."
while ! ping -qc1 8.8.8.8 ; do sleep 0.1 ; done
notify-send -u critical "Found network!"

exec qutebrowser &
exec st &

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

exec spotify
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Play

notify-send -u critical "Welcome back, Melvin!"