prettify polybar

This commit is contained in:
Moritz Böhme 2021-10-24 17:13:37 +02:00
parent c6d6efe84c
commit 65730a8fd2
2 changed files with 6 additions and 6 deletions

View file

@ -48,15 +48,15 @@ fixed-center = true
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), ; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
; the percentage can optionally be extended with a pixel offset like so: ; the percentage can optionally be extended with a pixel offset like so:
; 50%:-10, this will result in a width or height of 50% minus 10 pixels ; 50%:-10, this will result in a width or height of 50% minus 10 pixels
width = 100% width = 100%:-20
height = 25 height = 30
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) ; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
; the percentage can optionally be extended with a pixel offset like so: ; the percentage can optionally be extended with a pixel offset like so:
; 50%:-10, this will result in an offset in the x or y direction ; 50%:-10, this will result in an offset in the x or y direction
; of 50% minus 10 pixels ; of 50% minus 10 pixels
offset-x = 0% offset-x = 10
offset-y = 0% offset-y = 5
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) ; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
background = ${colors.background-alt} background = ${colors.background-alt}

View file

@ -7,12 +7,12 @@ let
inactiveOpacity = "0.90"; inactiveOpacity = "0.90";
opacityRule = [ opacityRule = [
"100:fullscreen" "100:fullscreen"
"80 :class_g = 'Polybar'" "100:class_g = 'Polybar'"
"85 :class_g = 'kitty' && !focused" "85 :class_g = 'kitty' && !focused"
"90 :class_g = 'kitty' && focused" "90 :class_g = 'kitty' && focused"
]; ];
blur = true; blur = true;
# inactiveDim = "0.1"; blurExclude = [ "class_g = 'Polybar'" ];
experimentalBackends = true; experimentalBackends = true;
extraOptions = '' extraOptions = ''
corner-radius = 10; corner-radius = 10;