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 <noreply@anthropic.com>
This commit is contained in:
2026-08-15 09:00:15 +02:00
co-authored by Claude Sonnet 5
parent 5c7bdb0ed8
commit 01690ce658
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
TERMINAL = "kitty"
FILE_MANAGER = "dolphin"
BROWSER = "firefox"
BROWSER = "google-chrome-stable"
EDITOR = "gnome-text-editor --new-window"
CALCULATOR = "gnome-calculator"
+1 -1
View File
@@ -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" })