From f1ba6e92806553092369ed8a9f4e58fb5ca20823 Mon Sep 17 00:00:00 2001 From: notohh Date: Tue, 7 Feb 2023 21:02:30 -0500 Subject: [PATCH] feat: init mpv --- modules/home/home.nix | 1 + modules/home/mpv/default.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 modules/home/mpv/default.nix diff --git a/modules/home/home.nix b/modules/home/home.nix index dc2d32c..387f650 100755 --- a/modules/home/home.nix +++ b/modules/home/home.nix @@ -13,6 +13,7 @@ imports = [ ./git ./lazygit ./lf + ./mpv ./waybar ./wayland/hyprland ]; diff --git a/modules/home/mpv/default.nix b/modules/home/mpv/default.nix new file mode 100644 index 0000000..a75a946 --- /dev/null +++ b/modules/home/mpv/default.nix @@ -0,0 +1,16 @@ +{ + config, + pkgs, + ... +}: { + programs.mpv = { + enable = true; + scripts = [ + pkgs.mpvScripts.mpris + ]; + bindings = { + WHEEL_UP = "volume 10"; + WHEEL_DOWN = "volume -10"; + }; + }; +} \ No newline at end of file