From e488b0212d6b98386d61bd48bcb7da55e87a1e18 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sun, 14 Sep 2025 09:41:17 -0500 Subject: [PATCH] Fix weird bug with browser spawn keybind? --- modules/user/hyprland/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/user/hyprland/default.nix b/modules/user/hyprland/default.nix index a4a62fce..08fa14ba 100644 --- a/modules/user/hyprland/default.nix +++ b/modules/user/hyprland/default.nix @@ -114,6 +114,7 @@ in "alacritty --class scratch_numbat -e numbat" "alacritty --class scratch_btm -e btm" "element-desktop" + "sleep 5 && hyprctl keyword bind SUPER,S,exec,${spawnBrowser}" ]; general = { @@ -231,7 +232,6 @@ in "SUPER,RETURN,exec,${term}" "SUPERSHIFT,RETURN,exec,${term} --class float_term" "SUPER,A,exec,${spawnEditor}" - "SUPER,S,exec,${spawnBrowser}" "SUPERCTRL,S,exec,container-open" "SUPERCTRL,P,pin" "SUPER,code:47,exec,fuzzel" @@ -308,6 +308,7 @@ in "SUPER,P,exec,keepmenu" "SUPERSHIFT,P,exec,hyprprofile-dmenu" "SUPERCTRL,R,exec,phoenix refresh" + "SUPER,S,exec,${spawnBrowser}" ]; bindm = [ @@ -766,6 +767,7 @@ backdrop = 0.0 valign = center } ''; + services.hyprpolkitagent.enable = true; services.swayosd.enable = true; services.swayosd.topMargin = 0.5; home.file.".config/nwg-launchers/nwggrid/terminal".text = "alacritty -e";