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