fix(waybar): clean up padding and fix brightness

This commit is contained in:
jacekpoz 2023-12-21 13:50:01 +01:00
parent 88cc31b0c3
commit 851aef0331
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C

View file

@ -102,8 +102,10 @@ in {
rotate = 0;
format = "{icon} {percent}%";
format-icons = [ "󰃚" "󰃛" "󰃜" "󰃝" "󰃞" "󰃟" "󰃠" ];
on-scroll-up = "~/Scripts/bright.sh s +1%";
on-scroll-down = "~/Scripts/bright.sh s 1%-";
#on-scroll-up = "~/Scripts/bright.sh s +1%";
#on-scroll-down = "~/Scripts/bright.sh s 1%-";
on-scroll-up = "${pkgs.brightnessctl}/bin/brightnessctl set +1%";
on-scroll-down = "${pkgs.brightnessctl}/bin/brightnessctl set 1%-";
smooth-scrolling-threshold = 1;
};
battery = {
@ -286,8 +288,8 @@ in {
#window {
margin-top: 4px;
margin-bottom: 4px;
padding-left: 5px;
padding-right: 5px;
padding-left: 10px;
padding-right: 10px;
background: @mantle;
color: @teal;
font-family: JetBrains Mono;