diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2018-11-21 19:16:09 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2018-11-21 19:16:09 +0100 |
commit | 6d91ce1065f5d2a80679e6edf12dea8bd47a26cd (patch) | |
tree | 294a98ee53856d68d3fa85d562295114a0e16a2b | |
parent | 69bf352bdd90571bdb20b4f0370f7d125684979f (diff) | |
download | scripts-6d91ce1065f5d2a80679e6edf12dea8bd47a26cd.tar.gz scripts-6d91ce1065f5d2a80679e6edf12dea8bd47a26cd.zip |
pqiv floating windows
-rw-r--r-- | webview.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |