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:
commit
89d13307a5
1 changed files with 8 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue