From 222fe9a9ffc5430ea28173f01482f30b26f22648 Mon Sep 17 00:00:00 2001 From: awy Date: Thu, 14 Aug 2025 05:46:25 +0300 Subject: update --- .local/bin/dmenuhandler | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.local/bin/dmenuhandler') diff --git a/.local/bin/dmenuhandler b/.local/bin/dmenuhandler index d2c6f83..875bbc2 100755 --- a/.local/bin/dmenuhandler +++ b/.local/bin/dmenuhandler @@ -1,10 +1,10 @@ #!/bin/sh -# Feed this script a link and it will give rofi -dmenu +# Feed this script a link and it will give mew # some choice programs to use to open it. -feed="${1:-$(true | rofi -dmenu -p 'Paste URL or file path')}" +feed="${1:-$(true | mew -p 'Paste URL or file path')}" -case "$(printf "copy url\\nswayimg\\nsetbg\\nPDF\\nbrowser\\nlynx\\nvim\\nmpv\\nmpv loop\\nmpv float\\nqueue download\\nqueue yt-dlp\\nqueue yt-dlp audio" | rofi -dmenu -i -p "Open it with?")" in +case "$(printf "copy url\\nswayimg\\nsetbg\\nPDF\\nbrowser\\nlynx\\nvim\\nmpv\\nmpv loop\\nmpv float\\nqueue download\\nqueue yt-dlp\\nqueue yt-dlp audio" | mew -i -p "Open it with?")" in "copy url") echo "$feed" | wl-copy ;; mpv) setsid -f mpv -quiet "$feed" >/dev/null 2>&1 ;; "mpv loop") setsid -f mpv -quiet --loop "$feed" >/dev/null 2>&1 ;; -- cgit v1.2.3