From 226c027ebf6d5194803655f50ff78277b3ff5bf3 Mon Sep 17 00:00:00 2001 From: Nikolai Papin Date: Fri, 9 Jan 2026 21:09:11 +0300 Subject: [PATCH] fix: Telegram media viewer fullscreen; fix: hyprbar style; refactor: disabled hyprbars --- hypr/hyprland.conf | 54 ++++++++++++-------------------------- waybar/style/style_top.css | 7 ++--- 2 files changed, 21 insertions(+), 40 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index e0a96a6..5b6eb48 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -199,6 +199,8 @@ misc { enable_anr_dialog = false render_unfocused_fps = 1 size_limits_tiled = true + on_focus_under_fullscreen = 0 + exit_window_retains_fullscreen = false } ############## @@ -611,9 +613,18 @@ windowrule { name = windowrule-6 workspace = 8 silent group = set + suppress_event = fullscreen match:class = ^(com.ayugram.desktop)$ } +# Telegram media viewer +windowrule { + name = telegram-media-viewer + group = deny + fullscreen = true + match:class = ^(com.ayugram.desktop)$ + match:initial_title = ^(Media\ viewer) +} # Vesktop windowrule { @@ -761,7 +772,7 @@ plugin { mode = flash } hyprbars { - enabled = true + enabled = false bar_height = 18 bar_color = rgba(1c1c1cce) bar_title_enabled = false @@ -781,42 +792,11 @@ plugin { on_double_click = - windowrule { - name = windowrule-17 - match:plugin = hyprbars:bar_color rgb(261B1E) - match:class = ^(com.ayugram.desktop) - } - - windowrule { - name = windowrule-18 - match:plugin = hyprbars:bar_color rgb(121214) - match:class = ^(vesktop) - } - - windowrule { - name = windowrule-19 - match:plugin = hyprbars:bar_color rgb(131313) - match:class = ^(zen) - } - - windowrule { - name = windowrule-20 - match:plugin = hyprbars:bar_color rgb(F1F3F4) - match:class = ^(draw.io) - } - - windowrule { - name = windowrule-21 - match:plugin = hyprbars:bar_color rgb(1C1C1C) - match:class = ^(thunar) - } - - windowrule { - name = windowrule-22 - match:plugin = hyprbars:bar_color rgb(1C1C1C) - match:float = 1 - } - + windowrule = match:class ^(com.ayugram.desktop), hyprbars:bar_color rgb(261B1E) + windowrule = match:class ^(zen), hyprbars:bar_color rgb(121214) + windowrule = match:class ^(thunar), hyprbars:bar_color rgb(1C1C1C) + windowrule = match:class ^(draw.io), hyprbars:bar_color rgb(F1F3F4) + windowrule = match:float 1, hyprbars:bar_color rgb(1C1C1C) } dynamic-cursors { diff --git a/waybar/style/style_top.css b/waybar/style/style_top.css index b0bc9ed..935921b 100644 --- a/waybar/style/style_top.css +++ b/waybar/style/style_top.css @@ -93,10 +93,11 @@ window#waybar.chromium { transition: color 0.5s, box-shadow 0.5s, background 0.5s; } -#workspaces button:hover { +#workspaces button:hover, #workspaces button.active.hosting-monitor:hover { color: @foreground; - background-color: transparent; - text-shadow: 0px 0px 2px rgba(233, 99, 117, 1); + background: none; + box-shadow: none; + text-shadow: none; } /* --------------------------------------------------------------------------