Created
November 27, 2012 18:17
-
-
Save jdsumsion/4156006 to your computer and use it in GitHub Desktop.
X Clipboard Cleaner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
xclip -o -selection clipboard > /tmp/clipboard | |
cat /tmp/clipboard | xclip -i -selection clipboard | |
rm -f /tmp/clipboard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# put this in ~/.local/share/applications to get this on your menu | |
[Desktop Entry] | |
Exec=/home/sumsionjg/bin/xclip-cleanse | |
GenericName=Clipboard Cleanser | |
#Icon=? | |
Name=Clipboard Cleanser | |
Path= | |
StartupNotify=false | |
Terminal=false | |
Type=Application | |
Categories=Utility |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment