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:
@@ -25,7 +25,6 @@
|
|||||||
windowrulev2 = [
|
windowrulev2 = [
|
||||||
"workspace special:youtube, class:^(youtube)$"
|
"workspace special:youtube, class:^(youtube)$"
|
||||||
"workspace special:jellyfin, class:^(jellyfin)$"
|
"workspace special:jellyfin, class:^(jellyfin)$"
|
||||||
"noblur, class:(firefox|youtube|jellyfin)"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
imports = [
|
imports = [
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
decoration = {
|
decoration = {
|
||||||
rounding = 0;
|
rounding = 0;
|
||||||
active_opacity = 0.99;
|
active_opacity = 0.99;
|
||||||
inactive_opacity = 0.80;
|
inactive_opacity = 0.99;
|
||||||
shadow = {
|
shadow = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
range = 2;
|
range = 2;
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
{
|
{
|
||||||
wayland.windowManager.hyprland.settings = {
|
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 = [
|
workspace = [
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user