From 26ca4d7fde43500501135dfed484c46b3f7f7e64 Mon Sep 17 00:00:00 2001 From: Tyler Kelley Date: Thu, 8 Feb 2024 22:57:58 -0600 Subject: [PATCH] Add fix for broken browser keybinding when using chrome --- config/home/hyprland.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/home/hyprland.nix b/config/home/hyprland.nix index 6c039f7..3425b0c 100644 --- a/config/home/hyprland.nix +++ b/config/home/hyprland.nix @@ -129,7 +129,11 @@ in with lib; { bind = ${modifier}SHIFT,Return,exec,rofi-launcher bind = ${modifier}SHIFT,W,exec,web-search bind = ${modifier}SHIFT,S,exec,swaync-client -rs - bind = ${modifier},W,exec,${browser} + ${if browser == "google-chrome" then '' + bind = ${modifier},W,exec,google-chrome-stable + '' else '' + bind = ${modifier},W,exec,${browser} + ''} bind = ${modifier},E,exec,emopicker9000 bind = ${modifier},S,exec,screenshootin bind = ${modifier},D,exec,discord