moby: switch to mpv
needs some more tuning, but ditching vlc means no more Qt, and it looks like i can tune the mpv UI to be substantially better for my wants
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
# mpv docs:
|
||||||
|
# - <https://mpv.io/manual/master>
|
||||||
|
# - <https://github.com/mpv-player/mpv/wiki>
|
||||||
|
# curated mpv mods/scripts/users:
|
||||||
|
# - <https://github.com/stax76/awesome-mpv>
|
||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -8,6 +13,21 @@
|
|||||||
save-position-on-quit=%3%yes
|
save-position-on-quit=%3%yes
|
||||||
keep-open=%3%yes
|
keep-open=%3%yes
|
||||||
'';
|
'';
|
||||||
|
fs.".config/mpv/script-opts/osc.conf".symlink.text = ''
|
||||||
|
# make the on-screen controls *always* visible
|
||||||
|
# unfortunately, this applies to full-screen as well
|
||||||
|
# - docs: <https://mpv.io/manual/master/#on-screen-controller-visibility>
|
||||||
|
visibility=always
|
||||||
|
'';
|
||||||
|
|
||||||
|
mime.priority = 200; # default = 100; 200 means to yield to other apps
|
||||||
|
mime.associations."audio/flac" = "mpv.desktop";
|
||||||
|
mime.associations."audio/mpeg" = "mpv.desktop";
|
||||||
|
mime.associations."audio/x-vorbis+ogg" = "mpv.desktop";
|
||||||
|
mime.associations."video/mp4" = "mpv.desktop";
|
||||||
|
mime.associations."video/quicktime" = "mpv.desktop";
|
||||||
|
mime.associations."video/webm" = "mpv.desktop";
|
||||||
|
mime.associations."video/x-matroska" = "mpv.desktop";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
"lemoa" # lemmy app
|
"lemoa" # lemmy app
|
||||||
# "lollypop"
|
# "lollypop"
|
||||||
"mepo" # maps viewer
|
"mepo" # maps viewer
|
||||||
# "mpv"
|
"mpv"
|
||||||
# "networkmanagerapplet"
|
# "networkmanagerapplet"
|
||||||
# "newsflash"
|
# "newsflash"
|
||||||
"nheko"
|
"nheko"
|
||||||
@@ -50,7 +50,6 @@
|
|||||||
# "tdesktop" # broken on phosh
|
# "tdesktop" # broken on phosh
|
||||||
# "tokodon"
|
# "tokodon"
|
||||||
"tuba" # mastodon/pleroma client (stores pw in keyring)
|
"tuba" # mastodon/pleroma client (stores pw in keyring)
|
||||||
"vlc"
|
|
||||||
# "whalebird" # pleroma client (Electron). input is broken on phosh.
|
# "whalebird" # pleroma client (Electron). input is broken on phosh.
|
||||||
"xterm" # broken on phosh
|
"xterm" # broken on phosh
|
||||||
];
|
];
|
||||||
@@ -84,6 +83,7 @@
|
|||||||
"obsidian"
|
"obsidian"
|
||||||
"slic3r"
|
"slic3r"
|
||||||
"steam"
|
"steam"
|
||||||
|
"vlc"
|
||||||
"wireshark" # could maybe ship the cli as sysadmin pkg
|
"wireshark" # could maybe ship the cli as sysadmin pkg
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user