forked from Shinonome/dots-hyprland
fix unacceptably low transparency
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
$transparency: 0.5;
|
||||
$transparentize_amount: 0.3;
|
||||
$transparentize_surface_amount: 0.7;
|
||||
$rootTransparency: 0.31; // Transparency = 1 - opacity
|
||||
$transparency: 0.8;
|
||||
|
||||
// Extended material
|
||||
$success: #4f6354;
|
||||
@@ -17,10 +16,8 @@ $onSuccessContainer: #0c1f13;
|
||||
}
|
||||
|
||||
// Transparent versions
|
||||
$t_surface: transparentize($surface, $transparentize_surface_amount);
|
||||
|
||||
@if $transparent == True {
|
||||
$background: transparentize($background, $transparency);
|
||||
$background: transparentize($background, $rootTransparency);
|
||||
$surface: transparentize($surface, $transparency);
|
||||
$surfaceDim: transparentize($surfaceDim, $transparency);
|
||||
$surfaceBright: transparentize($surfaceBright, $transparency);
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
@import './musicwal';
|
||||
@import './colors';
|
||||
@import './lib_mixins';
|
||||
$music_transparentize_amount: 0.3;
|
||||
$music_gradient1: mix($color1, $background, 50%);
|
||||
|
||||
// @if $darkmode == True {
|
||||
@@ -31,10 +32,10 @@ $onSecondaryContainer: mix($color7, $color2, 90%);
|
||||
background-color: $layer0;
|
||||
padding: 0rem 1.023rem;
|
||||
background: // Inspired by Amberol
|
||||
linear-gradient(127deg, transparentize($music_gradient1, $music_colorstart_transparentize), transparentize($music_gradient1, $music_colorstart_transparentize - $transparentize_amount + $music_extra_transparentize) 70.71%),
|
||||
linear-gradient(217deg, transparentize($music_gradient2, $music_colorstart_transparentize), transparentize($music_gradient2, $music_colorstart_transparentize - $transparentize_amount + $music_extra_transparentize) 70.71%),
|
||||
linear-gradient(127deg, transparentize($music_gradient1, $music_colorstart_transparentize), transparentize($music_gradient1, $music_colorstart_transparentize - $music_transparentize_amount + $music_extra_transparentize) 70.71%),
|
||||
linear-gradient(217deg, transparentize($music_gradient2, $music_colorstart_transparentize), transparentize($music_gradient2, $music_colorstart_transparentize - $music_transparentize_amount + $music_extra_transparentize) 70.71%),
|
||||
radial-gradient(circle at 0% 100%, $color4 13%, rgba(0, 0, 0, 0) 100%),
|
||||
linear-gradient(336deg, transparentize($music_gradient3, $music_colorstart_transparentize), transparentize($music_gradient3, $music_colorstart_transparentize - $transparentize_amount + $music_extra_transparentize) 70.71%),
|
||||
linear-gradient(336deg, transparentize($music_gradient3, $music_colorstart_transparentize), transparentize($music_gradient3, $music_colorstart_transparentize - $music_transparentize_amount + $music_extra_transparentize) 70.71%),
|
||||
linear-gradient($background, $background), // We don't want wallpaper tint, so here's a fully opaque surface
|
||||
;
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ decoration {
|
||||
xray = true
|
||||
special = false
|
||||
new_optimizations = true
|
||||
size = 5
|
||||
size = 7
|
||||
passes = 4
|
||||
brightness = 1
|
||||
noise = 0.01
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# ######## Window rules ########
|
||||
windowrule = noblur,.* # Disables blur for windows. Substantially improves performance.
|
||||
|
||||
windowrule = noblur,.*
|
||||
# windowrule = opacity 0.89 override 0.89 override, .* # Applies transparency to EVERY WINDOW
|
||||
windowrule = float, ^(blueberry.py)$
|
||||
windowrule = float, ^(steam)$
|
||||
@@ -8,7 +7,6 @@ windowrule = float, ^(guifetch)$ # FlafyDev/guifetch
|
||||
windowrulev2 = tile,class:(wps)
|
||||
windowrulev2 = tile,class:(dev.warp.Warp)
|
||||
|
||||
|
||||
# Dialogs
|
||||
windowrule=float,title:^(Open File)(.*)$
|
||||
windowrule=float,title:^(Select a File)(.*)$
|
||||
@@ -18,7 +16,7 @@ windowrule=float,title:^(Save As)(.*)$
|
||||
windowrule=float,title:^(Library)(.*)$
|
||||
|
||||
# ######## Layer rules ########
|
||||
layerrule = xray 0, .*
|
||||
layerrule = xray 1, .*
|
||||
# layerrule = noanim, .*
|
||||
layerrule = noanim, selection
|
||||
layerrule = noanim, overview
|
||||
@@ -27,10 +25,7 @@ layerrule = noanim, sideleft
|
||||
layerrule = noanim, sideright
|
||||
layerrule = noanim, osk
|
||||
|
||||
layerrule = blur, eww
|
||||
layerrule = ignorealpha 0.8, eww
|
||||
layerrule = noanim, noanim
|
||||
layerrule = blur, noanim
|
||||
layerrule = blur, gtk-layer-shell
|
||||
layerrule = ignorezero, gtk-layer-shell
|
||||
layerrule = blur, launcher
|
||||
@@ -44,22 +39,23 @@ layerrule = noanim, sideright
|
||||
layerrule = noanim, sideleft
|
||||
|
||||
layerrule = blur, bar
|
||||
layerrule = ignorealpha 0.20, bar
|
||||
layerrule = ignorealpha 0.6, bar
|
||||
layerrule = blur, corner.*
|
||||
layerrule = ignorealpha 0.20, corner.*
|
||||
layerrule = ignorealpha 0.6, corner.*
|
||||
layerrule = blur, dock
|
||||
layerrule = ignorealpha 0.20, dock
|
||||
layerrule = ignorealpha 0.6, dock
|
||||
layerrule = blur, indicator.*
|
||||
layerrule = ignorealpha 0.20, indicator.*
|
||||
layerrule = ignorealpha 0.6, indicator.*
|
||||
layerrule = blur, overview
|
||||
layerrule = ignorealpha 0.20, overview
|
||||
layerrule = ignorealpha 0.6, overview
|
||||
layerrule = blur, cheatsheet
|
||||
layerrule = ignorealpha 0.20, cheatsheet
|
||||
layerrule = ignorealpha 0.6, cheatsheet
|
||||
layerrule = blur, sideright
|
||||
layerrule = ignorealpha 0.20, sideright
|
||||
layerrule = ignorealpha 0.6, sideright
|
||||
layerrule = blur, sideleft
|
||||
layerrule = ignorealpha 0.20, sideleft
|
||||
layerrule = ignorealpha 0.6, sideleft
|
||||
layerrule = blur, indicator*
|
||||
layerrule = ignorealpha 0.20, indicator*
|
||||
layerrule = ignorealpha 0.6, indicator*
|
||||
layerrule = blur, osk
|
||||
layerrule = ignorealpha 0.20, osk
|
||||
layerrule = ignorealpha 0.6, osk
|
||||
|
||||
|
||||
Reference in New Issue
Block a user