aboutsummaryrefslogtreecommitdiff
path: root/.scripts/environment
diff options
context:
space:
mode:
authorMarvin Borner2020-05-30 23:59:51 +0200
committerMarvin Borner2020-05-30 23:59:51 +0200
commit8b4773ab6fab44bfc08f2ce2d57ad57093b4eba7 (patch)
tree59377a883c897b2bcf0515646e123f3aedc15e5c /.scripts/environment
parentcd06b5821746c2ddf9d016ec2cdc10c967f244e6 (diff)
Re-enabled environment setup
Diffstat (limited to '.scripts/environment')
-rwxr-xr-x.scripts/environment5
1 files changed, 2 insertions, 3 deletions
diff --git a/.scripts/environment b/.scripts/environment
index 47ecf2b..0961b8a 100755
--- a/.scripts/environment
+++ b/.scripts/environment
@@ -3,7 +3,7 @@
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"
+#notify-send -t 5000 -i "dialog-layers" "Starting programs"
exec qutebrowser &
exec st &
@@ -18,5 +18,4 @@ 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
+while ! dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Play ; do sleep 0.5 ; done