From 851aef0331dadd33445143ded453f4520ff72a54 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Thu, 21 Dec 2023 13:50:01 +0100 Subject: [PATCH] fix(waybar): clean up padding and fix brightness --- modules/gui/waybar.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/gui/waybar.nix b/modules/gui/waybar.nix index 827731cd..6a0079e6 100644 --- a/modules/gui/waybar.nix +++ b/modules/gui/waybar.nix @@ -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;