summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/x11/xinitrc1
-rwxr-xr-x.local/bin/dmclip19
2 files changed, 20 insertions, 0 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
index 3f49b7e..1b0eaf4 100644
--- a/.config/x11/xinitrc
+++ b/.config/x11/xinitrc
@@ -53,6 +53,7 @@ dunst_shit() {
start_apps() {
[ $host = "po-rbo" ] && /home/r_bousset/.local/bin/pipe
+ startif clipmenud
startif copyq
startif nextcloud
QT_SCALE_FACTOR=1.35 startif rclone-browser
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__