[mpv] Change unique mpv to floating instance
Changed the way umpv starts up to always be a floating instance in the lower left screen corner.
This commit is contained in:
parent
b439e7fabb
commit
c7f4ea880d
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