AutoYADM commit: 2025-03-17 12:30:07

This commit is contained in:
Daniel Fichtinger 2025-03-17 12:30:07 -04:00
parent e2b0fc2008
commit 2c4d34b0d7
4 changed files with 22 additions and 7 deletions

View file

@ -0,0 +1,12 @@
#!/bin/env bash
# File to write the path
temp="$1"
# if the clipboard is plain/text, we assume it's a path
# otherwise, we assume it's a mime-type to be copied
if wl-paste --list-types | grep -qv '^text/plain$'; then
echo "Non-text type."
else
echo "Text type."
fi