commit 3b1200e8878e6c448831795f6416965314d36a4b
parent fccf0196648191745b2e9ec6c96bd77be71140ad
Author: Leah (ctucx) <leah@ctu.cx>
Date: Fri, 19 Aug 2022 12:05:57 +0200
parent fccf0196648191745b2e9ec6c96bd77be71140ad
Author: Leah (ctucx) <leah@ctu.cx>
Date: Fri, 19 Aug 2022 12:05:57 +0200
[darwin/skhd] remap firefox-keybindings: ctrl+{pageup,pagedown} to cmd+{pageup/pagedown} (tab switching)
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/configurations/darwin/skhd.nix b/configurations/darwin/skhd.nix @@ -41,6 +41,14 @@ in { lalt - 7 : ${pkgs.skhd}/bin/skhd -k "ctrl - 7" lalt - 8 : ${pkgs.skhd}/bin/skhd -k "ctrl - 8" lalt - 9 : ${pkgs.skhd}/bin/skhd -k "ctrl - 9" + + #firefox: map cmd+{pageup,pagedown} to ctrl+{pageup,pagedown} + cmd - pageup [ + "firefox" : ${pkgs.skhd}/bin/skhd -k "ctrl - pageup" + ] + cmd - pagedown [ + "firefox" : ${pkgs.skhd}/bin/skhd -k "ctrl - pagedown" + ] ''; };