summaryrefslogtreecommitdiff
path: root/dmenu_run
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-03-03 19:05:03 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-03-03 19:05:03 +0530
commit8ef46e789453aac437862417df158434122b34be (patch)
tree904e44dcff9c4c282acf4d510e3a2076d6efbe2c /dmenu_run
parentb17fc15d470a338804958fada5d6f7c20805939d (diff)
dmenu_exclude
Diffstat (limited to 'dmenu_run')
-rwxr-xr-xdmenu_run2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu_run b/dmenu_run
index 4fde442..4b1bfd4 100755
--- a/dmenu_run
+++ b/dmenu_run
@@ -1,2 +1,2 @@
#!/bin/sh
-dmenu_path | awk '$0!="pic"' |dmenu -H "${XDG_CACHE_HOME:-$HOME/.cache/}/dmenu_run.hist" "$@" | ${SHELL:-"/bin/sh"} &
+dmenu_path | grep -vw -f /usr/local/bin/dmenu_exclude |dmenu -H "${XDG_CACHE_HOME:-$HOME/.cache/}/dmenu_run.hist" "$@" | ${SHELL:-"/bin/sh"} &