summary refs log tree commit diff
path: root/bin/url-launcher
diff options
context:
space:
mode:
Diffstat (limited to 'bin/url-launcher')
-rwxr-xr-xbin/url-launcher21
1 files changed, 0 insertions, 21 deletions
diff --git a/bin/url-launcher b/bin/url-launcher
deleted file mode 100755
index 70b51c8..0000000
--- a/bin/url-launcher
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-set -e
-
-text="$*"
-if [ -z "$text" ]; then
-	read -r text
-fi
-
-wl-copy "$text"
-notify-send --urgency=low "copied" "$text"
-
-set -x
-case "$text" in
-*open.spotify.com*) notify-action -u low -c success -A "onclick=swaymsg exec -- spotify --uri=$text" "spotify link found" "$text" ;;
-
-url-launcher://*)
-	text=$(printf "%s" "$text" | sed -e 's,url-launcher://,,')
-	wl-copy "$text"
-	nuke "$text"
-	;;
-esac