fixing booksmarks scripts

This commit is contained in:
2025-04-17 11:20:45 -07:00
parent 35ed3e1343
commit f08e29bbd9
3 changed files with 11 additions and 7 deletions
-3
View File
@@ -15,9 +15,6 @@ clipboard_text=$(wl-paste --no-newline 2>/dev/null)
# Trim leading/trailing whitespace
clipboard_text=$(echo "$clipboard_text" | xargs)
# Strip https:// or http://
clipboard_text=$(echo "$clipboard_text" | sed 's#^https\?://##')
# Remove trailing slashes
clipboard_text=$(echo "$clipboard_text" | sed 's#/$##')