From f824a00d58d65fca5c09798828cf872351be8df6 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 23 Feb 2024 11:17:53 -0600 Subject: [PATCH] fixing waybar margins --- home/home.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/home.nix b/home/home.nix index ac843a9..f76c408 100644 --- a/home/home.nix +++ b/home/home.nix @@ -296,8 +296,8 @@ in modules-left = ["hyprland/workspaces" "hyprland/window"]; modules-center = ["clock"]; modules-right = ["pulseaudio" "backlight" "disk" "memory" "cpu" "battery" "tray"]; - margin-top = -5; - margin-bottom = 8; + margin-top = if laptop then -5 else 5; + margin-bottom = if laptop then 8 else 0; margin-left = 6; margin-right = 6; "hyprland/window" = {