update_0.1
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
selection=$(cat)
|
||||
[[ -z "$selection" ]] && exit 0
|
||||
|
||||
pkill -u $USER -x xclip
|
||||
|
||||
if [[ "$selection" == file://* && "$selection" == *.png ]]; then
|
||||
echo -n "$selection" | xclip -selection clipboard -t text/uri-list
|
||||
fi
|
||||
Reference in New Issue
Block a user