From adfd624f6fd326b568c533bd952b7f1642ba0d04 Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Mon, 31 May 2021 13:05:27 +0700 Subject: [PATCH] some polybar changes fully transparent without blur no more extra space between bar and windows make unfocused workspaces more dim --- users/rin/bspwm.nix | 1 + users/rin/picom.nix | 6 +++++- users/rin/polybar.bspwm.nix | 7 ++++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/users/rin/bspwm.nix b/users/rin/bspwm.nix index ea62794..d20632d 100644 --- a/users/rin/bspwm.nix +++ b/users/rin/bspwm.nix @@ -6,6 +6,7 @@ window_gap = 10; border_width = 0; split_ratio = 0.5; + top_padding = 25; }; extraConfig = '' feh --no-fehbg --bg-fill ${config.xdg.configHome}/xorg/wallpaper.png diff --git a/users/rin/picom.nix b/users/rin/picom.nix index feec43c..7cf8349 100644 --- a/users/rin/picom.nix +++ b/users/rin/picom.nix @@ -5,7 +5,11 @@ blur = true; blurExclude = [ - "class_g != 'Alacritty' && class_g != 'Polybar' && class_g != 'URxvt'" + (builtins.concatStringsSep " && " [ + "class_g != 'Alacritty'" + #"class_g != 'Polybar'" + "class_g != 'URxvt'" + ]) ]; fade = true; fadeDelta = 5; diff --git a/users/rin/polybar.bspwm.nix b/users/rin/polybar.bspwm.nix index 33de74c..27fe0cb 100644 --- a/users/rin/polybar.bspwm.nix +++ b/users/rin/polybar.bspwm.nix @@ -8,7 +8,7 @@ width = "100%"; height = 35; #background = "#64506c"; - background = "#10000000"; + background = "#00000000"; foreground = "#fff"; spacing = 2; @@ -17,6 +17,7 @@ right = 5; bottom = 5; }; + override-redirect = true; font = [ "NotoSans:style=Regular:size=11:antialias=true;2" @@ -54,11 +55,11 @@ focused = "%{T3}"; # ef4a occupied = { text = "%{T3}"; # e837 - foreground = "#B0FFFFFF"; + foreground = "#80FFFFFF"; }; empty = { text = "%{T3}"; # ef4a - foreground = "#B0FFFFFF"; + foreground = "#80FFFFFF"; }; urgent = { text = "%{T3}"; # e837