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:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
TERMINAL = "kitty"
|
TERMINAL = "kitty"
|
||||||
FILE_MANAGER = "dolphin"
|
FILE_MANAGER = "dolphin"
|
||||||
BROWSER = "firefox"
|
BROWSER = "google-chrome-stable"
|
||||||
EDITOR = "gnome-text-editor --new-window"
|
EDITOR = "gnome-text-editor --new-window"
|
||||||
CALCULATOR = "gnome-calculator"
|
CALCULATOR = "gnome-calculator"
|
||||||
|
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ hl.window_rule({
|
|||||||
-- Opacity Overrides
|
-- Opacity Overrides
|
||||||
local terminals = "^(kitty|ghostty|[Kk]onsole|Alacritty|gnome-terminal|xfce[0-9]?-terminal)$"
|
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 = 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" })
|
hl.window_rule({ match = { class = "^(mpv|org.kde.haruna|.*plex.*|org\\.kde\\.gwenview|.*vlc.*)$" }, opacity = "1.0 override" })
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user