feat(mpv): add uosc and thumbfast scripts for a minimalist UI
This commit is contained in:
+14
-2
@@ -1,5 +1,17 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
home.packages = with pkgs; [mpv];
|
programs.mpv = {
|
||||||
|
enable = true;
|
||||||
|
scripts = with pkgs.mpvScripts; [
|
||||||
|
uosc
|
||||||
|
thumbfast
|
||||||
|
];
|
||||||
|
config = {
|
||||||
|
# uosc provides its own UI
|
||||||
|
osc = "no";
|
||||||
|
osd-bar = "no";
|
||||||
|
border = "no";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
xdg.mimeApps = {
|
xdg.mimeApps = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -19,4 +31,4 @@
|
|||||||
"center, class:^(mpv)$"
|
"center, class:^(mpv)$"
|
||||||
"size 70% 70%, class:^(mpv)$"
|
"size 70% 70%, class:^(mpv)$"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user