diff options
author | Joe <rbo@gmx.us> | 2024-12-27 11:51:13 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-12-27 11:51:13 +0100 |
commit | 403f3c0473307829b848ae971d59dc5d2a1d256c (patch) | |
tree | 139ca87f76801f231766c06b933ac0f6b44d121f /.local/bin/dmrun | |
parent | up (diff) | |
download | dotfiles-bsd-403f3c0473307829b848ae971d59dc5d2a1d256c.tar.gz dotfiles-bsd-403f3c0473307829b848ae971d59dc5d2a1d256c.tar.bz2 dotfiles-bsd-403f3c0473307829b848ae971d59dc5d2a1d256c.tar.xz dotfiles-bsd-403f3c0473307829b848ae971d59dc5d2a1d256c.tar.zst dotfiles-bsd-403f3c0473307829b848ae971d59dc5d2a1d256c.zip |
up
Diffstat (limited to '.local/bin/dmrun')
-rwxr-xr-x | .local/bin/dmrun | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.local/bin/dmrun b/.local/bin/dmrun new file mode 100755 index 0000000..f47c232 --- /dev/null +++ b/.local/bin/dmrun @@ -0,0 +1,19 @@ +#!/usr/bin/env perl + +use strict; +use warnings; + +sub main +{ + my $color; + + $color = '#cc241d'; + if (@ARGV == 1) { + $color = $ARGV[0]; + } + return exec("dmenu_run -i -sb '$color' -shb '$color'"); +} + +main(); + +__END__ |