feat: init mpv
This commit is contained in:
parent
d7e38a8b0f
commit
f1ba6e9280
2 changed files with 17 additions and 0 deletions
|
@ -13,6 +13,7 @@ imports = [
|
|||
./git
|
||||
./lazygit
|
||||
./lf
|
||||
./mpv
|
||||
./waybar
|
||||
./wayland/hyprland
|
||||
];
|
||||
|
|
16
modules/home/mpv/default.nix
Normal file
16
modules/home/mpv/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
scripts = [
|
||||
pkgs.mpvScripts.mpris
|
||||
];
|
||||
bindings = {
|
||||
WHEEL_UP = "volume 10";
|
||||
WHEEL_DOWN = "volume -10";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue