diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2018-11-21 13:35:06 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2018-11-21 13:35:06 +0100 |
commit | 002aea04784cf733227b314a79de6d183548f850 (patch) | |
tree | e0c1316afae44afe86dd6712737b3d8144bc25b2 | |
parent | 7084dd910dfe20a23d8792b0966c4f226157019a (diff) | |
download | scripts-002aea04784cf733227b314a79de6d183548f850.tar.gz scripts-002aea04784cf733227b314a79de6d183548f850.zip |
Removed dmenu color settings in call options
-rw-r--r-- | dmenuTerm.sh | 8 | ||||
-rw-r--r-- | prompt.sh | 6 | ||||
-rw-r--r-- | systemControl.sh | 8 |
3 files changed, 3 insertions, 19 deletions
diff --git a/dmenuTerm.sh b/dmenuTerm.sh index f01a916..98cff7f 100644 --- a/dmenuTerm.sh +++ b/dmenuTerm.sh @@ -3,13 +3,7 @@ options="neofetch\ncmus\nnewsboat\nneomutt\nsyncthing\nbrightFirst\nresetConnection\nwifiDown\nyears\nmonths\nbg selection\nshowColors" -chosen=$(echo -e "$options" | dmenu \ --i \ --p "~$" \ --nb "#000000" \ --nf "#60ff00" \ --sb "#60f000" \ --sf "#000000") +chosen=$(echo -e "$options" | dmenu -i) case "$chosen" in # floating windows @@ -2,9 +2,5 @@ # A dmenu binary prompt script. # Gives a dmenu prompt labeled with $1 to perform command $2. -[ $(echo -e "No\nYes" | dmenu -i -p "$1" \ --nb "#000000" \ --nf "#60ff00" \ --sb "#60f000" \ --sf "#000000") \ +[ $(echo -e "No\nYes" | dmenu -i -p "$1") \ == "Yes" ] && $2 diff --git a/systemControl.sh b/systemControl.sh index 2b4125f..aa200b3 100644 --- a/systemControl.sh +++ b/systemControl.sh @@ -3,13 +3,7 @@ options="lock\nreboot\nshutdown\nexit i3" -chosen=$(echo -e "$options" | dmenu \ --i \ --p ">_" \ --nb "#000000" \ --nf "#60ff00" \ --sb "#60f000" \ --sf "#000000") +chosen=$(echo -e "$options" | dmenu) case "$chosen" in lock) i3lock -i ~/images/wallpapers/lockbg.png -f ;; |