prettify polybar

dev-docs
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%),
; 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
width = 100%
height = 25
width = 100%:-20
height = 30
; 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:
; 50%:-10, this will result in an offset in the x or y direction
; of 50% minus 10 pixels
offset-x = 0%
offset-y = 0%
offset-x = 10
offset-y = 5
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
background = ${colors.background-alt}

View File

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