Skip to content

Commit f07e590

Browse files
committed
Home managerify MPV config and allow for F11 to fullscreen
1 parent b24e31b commit f07e590

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

flake.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

graphical/mpv.nix

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
global = import ../global-var.nix;
33
in {
44
home-manager.users.${global.username} = {...}: {
5-
home.file = {
6-
"~/.config/mpv/mpv.conf".text = ''
7-
hwdec=auto
8-
'';
5+
programs.mpv = {
6+
enable = true;
7+
bindings = {
8+
F11 = "cycle fullscreen";
9+
};
10+
config = {
11+
hwdec = "auto";
12+
};
913
};
1014
};
1115
}

0 commit comments

Comments
 (0)