aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2018-11-21 19:16:09 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2018-11-21 19:16:09 +0100
commit6d91ce1065f5d2a80679e6edf12dea8bd47a26cd (patch)
tree294a98ee53856d68d3fa85d562295114a0e16a2b
parent69bf352bdd90571bdb20b4f0370f7d125684979f (diff)
downloadscripts-6d91ce1065f5d2a80679e6edf12dea8bd47a26cd.tar.gz
scripts-6d91ce1065f5d2a80679e6edf12dea8bd47a26cd.zip
pqiv floating windows
-rw-r--r--webview.sh4
1 files 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