commit 1bee16c27c6400983abc4f4cccac42f7322782ef parent 600412988dc8d09ef95632a378fce118cd6e0789 Author: breadcat <breadcat@users.noreply.github.com> Date: Thu, 2 Jul 2026 17:34:15 +0100 Hyprland binds and env var Diffstat:
| M | home/firefox.nix | | | 9 | ++++++++- |
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/home/firefox.nix b/home/firefox.nix @@ -3,6 +3,7 @@ { programs.firefox = { enable = true; + # configPath = "${config.xdg.configHome}/mozilla/firefox"; profiles = { default = { @@ -47,8 +48,14 @@ }; }; + + wayland.windowManager.hyprland.extraConfig = '' + hl.bind("SUPER + W", hl.dsp.exec_cmd("firefox")) + hl.bind("SUPER + SHIFT + W", hl.dsp.exec_cmd("firefox -private-window")) + ''; + home.sessionVariables = { -# BROWSER = "firefox"; + BROWSER = "firefox"; MOZ_ENABLE_WAYLAND = 1; };