From 01690ce6588fae640012fb7ae8b783de825007f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sat, 15 Aug 2026 09:00:15 +0200 Subject: [PATCH] hypr: switch default browser hotkey to Chrome Firefox isn't installed; SUPER+W now launches google-chrome-stable, and the opacity-override window rule matches Chrome's window class too. Co-Authored-By: Claude Sonnet 5 --- .config/hypr/config/variables.lua | 2 +- .config/hypr/config/windowrules.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/hypr/config/variables.lua b/.config/hypr/config/variables.lua index 7dc34ea..6e13738 100644 --- a/.config/hypr/config/variables.lua +++ b/.config/hypr/config/variables.lua @@ -2,7 +2,7 @@ TERMINAL = "kitty" FILE_MANAGER = "dolphin" -BROWSER = "firefox" +BROWSER = "google-chrome-stable" EDITOR = "gnome-text-editor --new-window" CALCULATOR = "gnome-calculator" diff --git a/.config/hypr/config/windowrules.lua b/.config/hypr/config/windowrules.lua index 84a1238..2c0e323 100644 --- a/.config/hypr/config/windowrules.lua +++ b/.config/hypr/config/windowrules.lua @@ -70,7 +70,7 @@ hl.window_rule({ -- Opacity Overrides local terminals = "^(kitty|ghostty|[Kk]onsole|Alacritty|gnome-terminal|xfce[0-9]?-terminal)$" -hl.window_rule({ match = { class = "^(firefox|zen)$" }, opacity = "1.0 override" }) +hl.window_rule({ match = { class = "^(firefox|zen|[Gg]oogle-chrome)$" }, opacity = "1.0 override" }) hl.window_rule({ match = { class = terminals }, opacity = "1.0 override" }) -- Override opacity in favor of terminal settings for opacity. If your terminal doesn't support transparency, you can remove this rule. hl.window_rule({ match = { class = "^(mpv|org.kde.haruna|.*plex.*|org\\.kde\\.gwenview|.*vlc.*)$" }, opacity = "1.0 override" })