aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2018-11-21 13:35:06 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2018-11-21 13:35:06 +0100
commit002aea04784cf733227b314a79de6d183548f850 (patch)
treee0c1316afae44afe86dd6712737b3d8144bc25b2
parent7084dd910dfe20a23d8792b0966c4f226157019a (diff)
downloadscripts-002aea04784cf733227b314a79de6d183548f850.tar.gz
scripts-002aea04784cf733227b314a79de6d183548f850.zip
Removed dmenu color settings in call options
-rw-r--r--dmenuTerm.sh8
-rw-r--r--prompt.sh6
-rw-r--r--systemControl.sh8
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
diff --git a/prompt.sh b/prompt.sh
index 6d262c1..d0eae46 100644
--- a/prompt.sh
+++ b/prompt.sh
@@ -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 ;;