From 17205f3c3f1b4d53d278fab174a4def105334db1 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Sun, 9 Jun 2019 12:44:33 -0400 Subject: [PATCH] Switched to bash for env. Also removed unneeded width line. --- rofi/scripts/media_controls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rofi/scripts/media_controls b/rofi/scripts/media_controls index d5a3f81..83f4503 100755 --- a/rofi/scripts/media_controls +++ b/rofi/scripts/media_controls @@ -1,4 +1,4 @@ -#! env zsh +#!/usr/bin/env bash STATUS="$(playerctl status)" MSG="$(playerctl metadata --format '{{xesam:title}} - {{xesam:artist}}')" @@ -8,7 +8,7 @@ OPTIONS="玲 Back  Stop" SELECTED="$( -rofi -dmenu -theme applet -i -width 15 -mesg "${MSG:-"No infomation"}" -p "${STATUS:-"Not Playing"}" --hide-scrollbar -line-padding 4 <<< $OPTIONS +rofi -dmenu -theme applet -i -mesg "${MSG:-"No infomation"}" -p "${STATUS:-"Not Playing"}" --hide-scrollbar -line-padding 4 <<< $OPTIONS )" echo $SELECTED