fix waybar

This commit is contained in:
thek4n 2026-08-01 21:09:12 +03:00
parent 707514fff7
commit 8066ebfd35
3 changed files with 8 additions and 5 deletions

View File

@ -76,7 +76,8 @@ corner_radius 8
layer_effects "waybar" { layer_effects "waybar" {
blur enable; blur enable;
blur_xray enable; blur_xray enable;
blur_radius 3;
blur_passes 4;
blur_ignore_transparent enable; blur_ignore_transparent enable;
shadows enable; shadows enable;
corner_radius 10;
} }

View File

@ -1,8 +1,10 @@
{ {
"layer": "bottom", "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",
@ -18,10 +20,10 @@
"custom/cpu_usage", "custom/cpu_usage",
"custom/cpu_temp", "custom/cpu_temp",
"custom/battery", "custom/battery",
"custom/language",
"custom/pomodoro", "custom/pomodoro",
"custom/userhost",
"custom/volume", "custom/volume",
"custom/language",
"custom/userhost",
"custom/time", "custom/time",
"tray" "tray"
], ],

View File

@ -7,7 +7,7 @@
} }
window#waybar { window#waybar {
background: rgba(0, 0, 0, 0); background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
color: #ffffff; color: #ffffff;
transition-property: background-color; transition-property: background-color;
transition-duration: .5s; transition-duration: .5s;