summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <adam@adast.xyz>2022-06-17 11:12:57 +0200
committerAdam <adam@adast.xyz>2022-06-22 11:48:54 +0200
commit7a2a2f90bb356d544ce694483f135433684ecb16 (patch)
tree14286ae22a48d60ef52a76f35609a3b8c3d5c0d2
parent033eb536b989debfca7636aa59ccb2ef99db872a (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 61c9173..fe2dd87 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 ".*"