diff options
author | Jesús <heckyel@hyperbola.info> | 2019-04-22 17:27:57 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-04-22 17:27:57 -0500 |
commit | fe8b040960bcb1224b7c9b647601e84507a7d33d (patch) | |
tree | 357dec6cb62faf017c3a009c926ee8cdfa02000b /scripts/mprish.sh | |
parent | 11ffe92bc48ef16ba93bfc71fc7aa290fc2af64e (diff) | |
download | i3-config-fe8b040960bcb1224b7c9b647601e84507a7d33d.tar.lz i3-config-fe8b040960bcb1224b7c9b647601e84507a7d33d.tar.xz i3-config-fe8b040960bcb1224b7c9b647601e84507a7d33d.zip |
remove mediaplayer | bug restart sesion
Diffstat (limited to 'scripts/mprish.sh')
-rw-r--r-- | scripts/mprish.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/scripts/mprish.sh b/scripts/mprish.sh deleted file mode 100644 index 54b78ca..0000000 --- a/scripts/mprish.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -# Specifying the icon(s) in the script -# This allows us to change its appearance conditionally - -player_status=$(playerctl status 2> /dev/null) -if [[ $player_status == "Playing" || $player_status == "Paused" ]]; then - metadata="$(playerctl metadata artist) - $(playerctl metadata title)" -fi - -# Foreground color formatting tags are optional -if [[ $player_status == "Playing" ]]; then - # Orange when playing - echo "$metadata" -elif [[ $player_status == "Paused" ]]; then - # Greyed out info when paused - echo "$metadata" -else - # Greyed out icon when stopped - echo "" -fi |