aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ;;