From 6d91ce1065f5d2a80679e6edf12dea8bd47a26cd Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Wed, 21 Nov 2018 19:16:09 +0100 Subject: pqiv floating windows --- webview.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webview.sh b/webview.sh index ba6e220..c9b08fd 100644 --- a/webview.sh +++ b/webview.sh @@ -18,7 +18,7 @@ if echo "$1" | grep youtube > /dev/null; then esac # General checks elif echo $pqivFiles | grep -w $ext > /dev/null; then - i3 exec pqiv "$1" >/dev/null & + nohup pqiv -i -P "0,0" -T "pqivfloat" "$1" >/dev/null & elif echo $mpvFiles | grep -w $ext > /dev/null; then chosen=$(echo -e "mpv\nmpv (loop)\nqutebrowser" | dmenu -i) case "$chosen" in @@ -36,6 +36,6 @@ else "mpv (loop)") nohup mpv --loop "$1" >/dev/null & ;; "mpv (float)") nohup mpv --geometry=-0-0 --autofit=40% --title="mpvfloat" "$1" >/dev/null & ;; qutebrowser) qutebrowser "$1" & ;; - pqiv) nohup pqiv "$1" >/dev/null & ;; + pqiv) nohup pqiv -i -P "0,0" -T "pqivfloat" "$1" >/dev/null & ;; esac fi -- cgit v1.2.1