From 35bb266dc433f7679da6fcdcadeee29207df0d94 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 22 Oct 2022 16:13:58 +0800 Subject: [PATCH] profiles/desktop: configure mpv bindings --- modules/home-manager/profiles/desktop.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/modules/home-manager/profiles/desktop.nix b/modules/home-manager/profiles/desktop.nix index 2fd8d0b1..eb353515 100644 --- a/modules/home-manager/profiles/desktop.nix +++ b/modules/home-manager/profiles/desktop.nix @@ -68,6 +68,25 @@ in { no-osc = true; }; + bindings = { + "Alt+h" = "seek -5"; + "Alt+l" = "seek 5"; + "Alt+H" = "add chapter -1"; + "Alt+L" = "add chapter 1"; + + "S" = "screenshot each-frame"; + + "!" = "show-text \${playlist}"; + "@" = "show-text \${track-list}"; + "SHARP" = "show-text \${chapter-list}"; + + # Ehhh, they're more getting in the way than just existing... + "f" = "ignore"; + "T" = "ignore"; + "Ctrl+s" = "ignore"; + "Alt+s" = "ignore"; + }; + profiles = { cjk = rec { vlang = "zho,zh,kor,ko,jpn,ja,eng,en";