aboutsummaryrefslogtreecommitdiff
path: root/.scripts/environment
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/environment')
-rwxr-xr-x.scripts/environment13
1 files changed, 8 insertions, 5 deletions
diff --git a/.scripts/environment b/.scripts/environment
index 42ad665..47ecf2b 100755
--- a/.scripts/environment
+++ b/.scripts/environment
@@ -1,8 +1,9 @@
#!/usr/bin/env sh
-notify-send -u critical "Waiting for internet connection..."
+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 -u critical "Found network!"
+notify-send -t 2000 -i "dialog-yes" "Found network"
+notify-send -t 5000 -i "dialog-layers" "Starting programs"
exec qutebrowser &
exec st &
@@ -13,7 +14,9 @@ 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 -t 10000 -i "im-user" "Welcome back, Melvin!"
-notify-send -u critical "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