feat(hypr): firefox will always have the same opacity as active.

vidoes are now easier to look at even when unfocused
This commit is contained in:
kenji
2026-03-14 09:02:06 -05:00
parent 3558d604eb
commit ecb13d8b19
3 changed files with 7 additions and 2 deletions
-1
View File
@@ -25,7 +25,6 @@
windowrulev2 = [
"workspace special:youtube, class:^(youtube)$"
"workspace special:jellyfin, class:^(jellyfin)$"
"noblur, class:(firefox|youtube|jellyfin)"
];
};
imports = [
+1 -1
View File
@@ -10,7 +10,7 @@
decoration = {
rounding = 0;
active_opacity = 0.99;
inactive_opacity = 0.80;
inactive_opacity = 0.99;
shadow = {
enabled = true;
range = 2;
+6
View File
@@ -1,5 +1,11 @@
{
wayland.windowManager.hyprland.settings = {
windowrulev2 = [
# Make all inactive windows transparent
"opacity 0.99 0.8, class:.*"
# But make Firefox windows opaque again (last rule wins)
"opacity 0.99 0.99, class:(?i)(firefox|youtube|jellyfin)"
];
workspace = [
];
};