diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2019-10-15 20:24:16 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2019-10-15 20:24:16 +0200 |
commit | 1e2d87ac849841c42e515389722f42a22dc8cc5a (patch) | |
tree | f8c28e08298439af8288c72409a946364dac8989 | |
parent | 93e3958002b52ed2f7eb4ebc151efdd08e91dc21 (diff) | |
download | scripts-1e2d87ac849841c42e515389722f42a22dc8cc5a.tar.gz scripts-1e2d87ac849841c42e515389722f42a22dc8cc5a.zip |
dmenuTerm.sh echo fixed and added missing quotation marks.
-rwxr-xr-x | dmenuTerm.sh | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/dmenuTerm.sh b/dmenuTerm.sh index dce2666..1bb633e 100755 --- a/dmenuTerm.sh +++ b/dmenuTerm.sh @@ -3,25 +3,25 @@ options="neofetch\ncmus\ncmus (float)\n\nweather\nReset NetworkManager\nwifiUp\nwifiDown\nyears\nmonths\nbg selection\nshowColors\npython\nmusicMode\nClose music mode" -chosen=$(echo "$options" | dmenu -i -p "~$ urxvt -e") +chosen=$(echo -e "$options" | dmenu -i -p "~$ urxvt -e") case "$chosen" in # floating windows - neofetch) urxvt -title invisible -sh 100 -cr "#aaddff" -geometry "80x21+50+35" -e ~/scripts/neofetch.sh ;; - showColors) urxvt -title floating -sh 10 -cr black -geometry 44x9 -e ~/scripts/showColors.sh ;; - years) ~/scripts/floats/floatYears.sh ;; - months) ~/scripts/floats/floatMonths.sh ;; - weather) urxvt -title floating -sh 10 -geometry 125x40 -e weather.sh ;; + "neofetch") urxvt -title invisible -sh 100 -cr "#aaddff" -geometry "80x21+50+35" -e ~/scripts/neofetch.sh ;; + "showColors") urxvt -title floating -sh 10 -cr black -geometry 44x9 -e ~/scripts/showColors.sh ;; + "years") ~/scripts/floats/floatYears.sh ;; + "months") ~/scripts/floats/floatMonths.sh ;; + "weather") urxvt -title floating -sh 10 -geometry 125x40 -e weather.sh ;; "bg selection") ~/scripts/floats/floatBgBrowser.sh "$HOME/images/wallpapers/" ;; - python) urxvt -title floating -geometry 80x28 -e python ;; + "python") urxvt -title floating -geometry 80x28 -e python ;; #programs - cmus) urxvt -cd ~/music -e cmus ;; + "cmus") urxvt -cd ~/music -e cmus ;; "cmus (float)") urxvt -title floating -sh 20 -geometry "150x12+5-8" -cd ~/music -e cmus ;; # sudo stuff "Restart NetworkManager") sudo systemctl restart NetworkManager ;; - wifiUp) wifiUp.sh ;; - wifiDown) wifiDown.sh ;; + "wifiUp") wifiUp.sh ;; + "wifiDown") wifiDown.sh ;; # other - musicMode) ~/scripts/musicMode.sh ;; + "musicMode") ~/scripts/musicMode.sh ;; "Close music mode") ~/scripts/closeMusicMode.sh ;; esac |