diff options
| author | Robert Günzler <r@gnzler.io> | 2026-02-10 12:32:48 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2026-02-10 12:41:25 +0100 |
| commit | 63feeb9f369fc6176e85c1c2d8fcc863caad1946 (patch) | |
| tree | 41cd5d2d1ec36e74e464caab722cc9b460153f04 /bin/url-launcher | |
| parent | 5bd0a4aca65ecb9818ef1285982d160b6b6ff665 (diff) | |
start new
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bin/url-launcher')
| -rwxr-xr-x | bin/url-launcher | 21 |
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 |