commit f50b57eed0fb1a93d33ac2972ad4a1e46dfcb0e1
parent d59d5f62f11fb53785996436ddba90bf4a04d18f
Author: Peter <peter@minskio.co.uk>
Date: Sat, 12 Sep 2026 18:32:24 +0100
Move firefox binds to hyprland HM file
Diffstat:
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/home/firefox.nix b/home/firefox.nix
@@ -59,11 +59,6 @@
};
- 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";
MOZ_ENABLE_WAYLAND = 1;
diff --git a/home/hyprland.nix b/home/hyprland.nix
@@ -54,6 +54,8 @@ in
-- Input
hl.config({input={numlock_by_default=${lib.boolToString numlockEnabled},kb_layout="gb",kb_options="caps:backspace",follow_mouse=1,sensitivity=0,touchpad={natural_scroll=false}}})
-- Launch binds
+ hl.bind("SUPER + W", hl.dsp.exec_cmd("firefox"))
+ hl.bind("SUPER + SHIFT + W", hl.dsp.exec_cmd("firefox -private-window"))
hl.bind("SUPER + T", hl.dsp.exec_cmd("alacritty"))
hl.bind("SUPER + RETURN", hl.dsp.exec_cmd("alacritty"))
hl.bind("SUPER + R", hl.dsp.exec_cmd("tofi-run | xargs -I{} sh -c '{}'"))