fix waybar blur
This commit is contained in:
parent
14c9c448e3
commit
953c975be9
@ -30,7 +30,7 @@ multiplier = 3
|
||||
|
||||
[window]
|
||||
dynamic_title = true
|
||||
opacity = 0.6
|
||||
opacity = 0.4
|
||||
|
||||
[window.dimensions]
|
||||
columns = 150
|
||||
|
||||
@ -63,21 +63,16 @@ exec_always test -f ~/.Xresources && xrdb -merge ~/.Xresources
|
||||
|
||||
blur enable
|
||||
blur_radius 3
|
||||
blur_xray enable
|
||||
|
||||
shadows enable
|
||||
shadow_color #0000007F
|
||||
shadow_blur_radius 8
|
||||
shadow_offset 0 5
|
||||
shadows disable
|
||||
|
||||
default_dim_inactive 0.25
|
||||
|
||||
corner_radius 8
|
||||
|
||||
layer_effects "waybar" {
|
||||
blur enable;
|
||||
blur_xray enable;
|
||||
blur_radius 3;
|
||||
blur_passes 4;
|
||||
blur_ignore_transparent enable;
|
||||
shadows enable;
|
||||
}
|
||||
|
||||
for_window [title="waybar"] blue enable
|
||||
|
||||
@ -1,10 +1,9 @@
|
||||
{
|
||||
"title": "waybar",
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"height": 30,
|
||||
"spacing": 4,
|
||||
"exclusive": false,
|
||||
"mode": "dock",
|
||||
|
||||
"modules-left": [
|
||||
"sway/workspaces",
|
||||
|
||||
@ -4,19 +4,16 @@
|
||||
font-family: "JetBrainsMono Nerd Font", "Font Awesome 6 Free", sans-serif;
|
||||
font-size: 14px;
|
||||
min-height: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: linear-gradient(to top, rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 0) 80%);
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
color: #ffffff;
|
||||
transition-property: background-color;
|
||||
transition-duration: .5s;
|
||||
}
|
||||
|
||||
window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 10px;
|
||||
color: #ffffff;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user