diff options
Diffstat (limited to '.local/bin/playerctl_systray')
| -rwxr-xr-x | .local/bin/playerctl_systray | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/.local/bin/playerctl_systray b/.local/bin/playerctl_systray index 559b483..5f4fcca 100755 --- a/.local/bin/playerctl_systray +++ b/.local/bin/playerctl_systray @@ -2,8 +2,6 @@ BIN_PATH=~/.local/share/python-playerctl_systray/playerctl_systray SCRIPT_PATH=~/.local/share/python-playerctl_systray/playerctl_systray.py -BIN_XAYMUP_PATH=~/.local/share/python-playerctl_systray/playerctl_systray_Xaymup -SCRIPT_XAYMUP_PATH=~/.local/share/python-playerctl_systray/playerctl_systray_Xaymup.py if ! command -v playerctl >/dev/null 2>&1; then echo "playerctl is not installed but is required." @@ -11,12 +9,8 @@ if ! command -v playerctl >/dev/null 2>&1; then exit 1 fi -if [ -f "$BIN_XAYMUP_PATH" ]; then - $BIN_XAYMUP_PATH -elif [ -f "$BIN_PATH" ]; then +if [ -f "$BIN_PATH" ]; then $BIN_PATH -elif [ -f "$SCRIPT_XAYMUP_PATH" ]; then - python3 $SCRIPT_XAYMUP_PATH elif [ -f "$SCRIPT_PATH" ]; then python3 $SCRIPT_PATH else |
