aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/dmenu_run_history
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dmenu_run_history')
-rwxr-xr-x.local/bin/dmenu_run_history6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/dmenu_run_history b/.local/bin/dmenu_run_history
index 73fac27..735ba1f 100755
--- a/.local/bin/dmenu_run_history
+++ b/.local/bin/dmenu_run_history
@@ -1,7 +1,7 @@
#!/bin/sh
-[ "$1" = "sudo" ] && export cmd_prefix='sudo -A ' && export dmenu_args='-sb red' && shift 1;
-[ "$1" = "terminal" ] && export cmd_prefix='urxvt -hold -e ' && export dmenu_args='-sb gray' && shift 1;
+[ "$1" = "privilege" ] && export cmd_prefix='sudo -A ' && export dmenu_args='-p Privilege -sb red' && shift 1;
+[ "$1" = "terminal" ] && export cmd_prefix='urxvt -hold -e ' && export dmenu_args='-p Terminal -sb gray' && shift 1;
# https://tools.suckless.org/dmenu/scripts/
@@ -28,7 +28,7 @@ awk -v histfile=$historyfile '
x[$0]=1
}
} !x[$0]++ ' "$cache" \
- | dmenu -b $dmenu_args "$@" \
+ | dmenu -b ${dmenu_args:--p Launch} "$@" \
| awk -v histfile=$historyfile '
BEGIN {
FS=OFS="\t"