Add transparency and blur to waybar
Remove make switch directive
This commit is contained in:
parent
05f371d459
commit
399514926f
3
Makefile
3
Makefile
|
@ -5,6 +5,3 @@ test:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
sudo nixos-rebuild build --flake .
|
sudo nixos-rebuild build --flake .
|
||||||
|
|
||||||
switch:
|
|
||||||
sudo nixos-rebuild switch --flake .
|
|
||||||
|
|
|
@ -73,10 +73,10 @@ in ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$layers = ^(eww-.+|bar|system-menu|anyrun|gtk-layer-shell|swaync-.+)$
|
$layers = ^(eww-.+|waybar|bar|system-menu|anyrun|gtk-layer-shell|swaync-.+)$
|
||||||
layerrule = blur, $layers
|
layerrule = blur, $layers
|
||||||
layerrule = ignorealpha 0, $layers
|
layerrule = ignorealpha 0, $layers
|
||||||
layerrule = ignorealpha 0.5, ^(eww-(music|calendar)|system-menu|anyrun|swaync-.+)$
|
layerrule = ignorealpha 0.5, ^(eww-(music|calendar)|waybar|system-menu|anyrun|swaync-.+)$
|
||||||
layerrule = xray 1, ^(bar|gtk-layer-shell)$
|
layerrule = xray 1, ^(bar|gtk-layer-shell)$
|
||||||
|
|
||||||
animations {
|
animations {
|
||||||
|
|
|
@ -49,11 +49,12 @@ window > box {
|
||||||
border-top-right-radius: 0px;
|
border-top-right-radius: 0px;
|
||||||
border-bottom-left-radius: 10px;
|
border-bottom-left-radius: 10px;
|
||||||
border-bottom-right-radius: 10px;
|
border-bottom-right-radius: 10px;
|
||||||
background: @base;
|
background: rgba(36, 39, 58, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
tooltip {
|
tooltip {
|
||||||
background: @base;
|
background: rgba(36, 39, 58, 0.5);
|
||||||
|
box-shadow: inset 0 0 0 1px rgba(183, 189, 248, 0.1), 0 0 0 1px rgba(36, 39, 58, 0.5);
|
||||||
border: 1px solid @lavender;
|
border: 1px solid @lavender;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
@ -78,8 +79,9 @@ tooltip {
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
border-top: 1px solid transparent;
|
border-top: 1px solid transparent;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
|
color: @overlay0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.active { border-top: 1px solid @lavender; }
|
#workspaces button.active { color: @text; }
|
||||||
|
|
||||||
#workspaces button.urgent { border-top: 1px solid @red; }
|
#workspaces button.urgent { color: @red; }
|
||||||
|
|
Loading…
Reference in a new issue