summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2025-01-02 15:04:58 +0100
committerJoe <rbo@gmx.us>2025-01-02 15:04:58 +0100
commit37ff104d1fccb081ec15be43eb2a02eebad4bb8c (patch)
treec9b11abdf9c64afc15a86843b2541b0c7c7f5c4a /.local
parentup (diff)
downloaddotfiles-bsd-37ff104d1fccb081ec15be43eb2a02eebad4bb8c.tar.gz
dotfiles-bsd-37ff104d1fccb081ec15be43eb2a02eebad4bb8c.tar.bz2
dotfiles-bsd-37ff104d1fccb081ec15be43eb2a02eebad4bb8c.tar.xz
dotfiles-bsd-37ff104d1fccb081ec15be43eb2a02eebad4bb8c.tar.zst
dotfiles-bsd-37ff104d1fccb081ec15be43eb2a02eebad4bb8c.zip
up
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/dmclip19
1 files changed, 19 insertions, 0 deletions
diff --git a/.local/bin/dmclip b/.local/bin/dmclip
new file mode 100755
index 0000000..d2369a1
--- /dev/null
+++ b/.local/bin/dmclip
@@ -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("clipmenu -i -sb '$color' -shb '$color'");
+}
+
+main();
+
+__END__