Merge branch '96-open-mpv-in-floating-mode-from-browser' into 'master'

Resolve "Open mpv in floating mode from browser"

Closes #96

See merge request marty-oehme/dotfiles!33
This commit is contained in:
Marty Oehme 2020-05-13 07:24:59 +00:00
commit 89d13307a5

View file

@ -90,7 +90,14 @@ else:
os.mkfifo(FIFO, 0o600)
opts = (os.getenv("MPV") or "mpv").split()
opts.extend(["--no-terminal", "--force-window=immediate", "--input-file=" + FIFO,
opts.extend(["--no-terminal",
"--on-all-workspaces",
# position on lower left screen corner
# contains funky fix for slight resizings depending on video
# move it 10px more left than it wants; 5px more up
"--geometry=15%+-10-+5",
"--force-window=immediate",
"--input-file=" + FIFO,
"--"])
opts.extend(files)