dont need rofi for mpv link opener
This commit is contained in:
parent
4b307ee5e6
commit
af04eb7295
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Run rofi to ask for the link
|
# Get the link from the clipboard using wl-paste
|
||||||
link=$(rofi -dmenu -p )
|
link=$(wl-paste)
|
||||||
|
|
||||||
# Check if a link was provided
|
# Check if a link was provided
|
||||||
if [ -n "$link" ]; then
|
if [ -n "$link" ]; then
|
||||||
|
|
Loading…
Reference in a new issue