From 6c3e229ad6a8d0e624785fbb08468ab079378351 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Sun, 14 Aug 2022 19:58:51 +0200 Subject: [PATCH] Mpv + keybindings --- hm_modules/mpv.nix | 9 +++++++++ odin/hm.nix | 2 +- thor/hm.nix | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 hm_modules/mpv.nix diff --git a/hm_modules/mpv.nix b/hm_modules/mpv.nix new file mode 100644 index 0000000..512ac19 --- /dev/null +++ b/hm_modules/mpv.nix @@ -0,0 +1,9 @@ +{ + programs.mpv = { + enable = true; + bindings = { + "Ctrl+Right" = "playlist-next"; + "Ctrl+Left" = "playlist-prev"; + }; + }; +} diff --git a/odin/hm.nix b/odin/hm.nix index b15d6ac..7d5a79a 100644 --- a/odin/hm.nix +++ b/odin/hm.nix @@ -58,7 +58,6 @@ meld minecraft mmv-go - mpv # mycrypto neofetch nixos-option @@ -139,6 +138,7 @@ ../hm_modules/libinput-gestures.nix ../hm_modules/mangohud.nix ../hm_modules/megasync.nix + ../hm_modules/mpv.nix ../hm_modules/nautilus.nix ../hm_modules/nix-index.nix ../hm_modules/noti.nix diff --git a/thor/hm.nix b/thor/hm.nix index 64c612d..b7dbbff 100644 --- a/thor/hm.nix +++ b/thor/hm.nix @@ -48,7 +48,6 @@ lutris meld minecraft - mpv mycrypto nix-prefetch-scripts obsidian @@ -109,6 +108,7 @@ ../hm_modules/kitty.nix ../hm_modules/mangohud.nix ../hm_modules/megasync.nix + ../hm_modules/mpv.nix ../hm_modules/nautilus.nix ../hm_modules/nix-index.nix ../hm_modules/noti.nix