diff options
author | Marvin Borner | 2020-09-12 11:32:51 +0200 |
---|---|---|
committer | Marvin Borner | 2020-09-12 11:32:51 +0200 |
commit | 7d4e199df2b57b4c7f7cbdacc7792d71bb56a538 (patch) | |
tree | b90697296d6644f226767b187e4901a8ee2c0d98 /.scripts | |
parent | d33931b884e4ff00daca627aaee924ba8bf44a98 (diff) |
Some fixes
Diffstat (limited to '.scripts')
-rwxr-xr-x | .scripts/environment | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.scripts/environment b/.scripts/environment index 0961b8a..8591c7d 100755 --- a/.scripts/environment +++ b/.scripts/environment @@ -1,7 +1,7 @@ #!/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 +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" @@ -17,5 +17,5 @@ exec thunderbird & notify-send -t 10000 -i "im-user" "Welcome back, Melvin!" # Musica! :) -exec spotify & -while ! dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Play ; do sleep 0.5 ; done +exec /usr/local/bin/spotify & # Force spotifywm +while ! dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Play; do sleep 0.5; done |