summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmapps
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dmapps')
-rwxr-xr-x.local/bin/dmapps7
1 files changed, 6 insertions, 1 deletions
diff --git a/.local/bin/dmapps b/.local/bin/dmapps
index 881be19..ec7a11a 100755
--- a/.local/bin/dmapps
+++ b/.local/bin/dmapps
@@ -239,12 +239,17 @@ sub main
{
my $action;
my $prompt;
+ my $color;
+ $color = '#cc241d';
+ if (@ARGV == 1) {
+ $color = $ARGV[0];
+ }
$prompt = PROG_LIST;
if (hostname() eq "po-rbo.ln.ysosecure.com") {
$prompt .= WORK_LIST;
}
- $action = `dmenu -i -l 100 <<LIST
+ $action = `dmenu -i -l 100 -sb '$color' -shb '$color' <<LIST
$prompt
LIST`;
if (not $action) {