diff options
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__ |