summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-06-17 11:12:57 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2022-06-17 11:12:57 +0200
commit1a9ee9f3de5d762e4a7ab022a18140d538734deb (patch)
treea4b843c93ca9e05e6c6e655396ae74bf094a6c04
parent9f02bf04099b46b6fd2ba9653bbe1ac0c264a8df (diff)
Simple script for clearing clipboard
-rwxr-xr-x.config/X11/xinitrc2
-rwxr-xr-x.local/bin/clipclear3
2 files changed, 4 insertions, 1 deletions
diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc
index b9029c8..bae7180 100755
--- a/.config/X11/xinitrc
+++ b/.config/X11/xinitrc
@@ -32,7 +32,7 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f
fi
-clipdel -d ".*" &
+~/.local/bin/clipclear &
clipmenud &
playerctld daemon &
nitrogen --restore &
diff --git a/.local/bin/clipclear b/.local/bin/clipclear
new file mode 100755
index 0000000..2a53e42
--- /dev/null
+++ b/.local/bin/clipclear
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+clipdel -d ".*"