summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmapps
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-12-27 12:00:06 +0100
committerJoe <rbo@gmx.us>2024-12-27 12:00:06 +0100
commita5be58007cb5639d9060ae4dbb54327d1e8dc0d5 (patch)
tree60116c8c8170d24850784299a4baa339f9b8af00 /.local/bin/dmapps
parentup (diff)
downloaddotfiles-bsd-a5be58007cb5639d9060ae4dbb54327d1e8dc0d5.tar.gz
dotfiles-bsd-a5be58007cb5639d9060ae4dbb54327d1e8dc0d5.tar.bz2
dotfiles-bsd-a5be58007cb5639d9060ae4dbb54327d1e8dc0d5.tar.xz
dotfiles-bsd-a5be58007cb5639d9060ae4dbb54327d1e8dc0d5.tar.zst
dotfiles-bsd-a5be58007cb5639d9060ae4dbb54327d1e8dc0d5.zip
good
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) {