diff --git a/README.org b/README.org index 16c06db..5196fd5 100644 --- a/README.org +++ b/README.org @@ -5445,12 +5445,13 @@ dunst-notification-status-underline = ${self.green} #+BEGIN_SRC conf :tangle polybar/config.ini [sizes] -bar-height = ${xrdb:polybar.bar-height:25} -module-margin = ${xrdb:polybar.module-margin:2} -module-padding = ${xrdb:polybar.module-padding:2} -tray-maxsize = ${xrdb:polybar.tray-maxsize:15} -tray-scale = ${xrdb:polybar.tray-scale:1} -maxlen = ${xrdb:polybar.maxlen:50} +bar-height = ${xrdb:polybar.bar-height:25} +module-margin = ${xrdb:polybar.module-margin:1} +module-padding = ${xrdb:polybar.module-padding:1} +module-dwm-padding = ${xrdb:polybar.module-dwm-padding:2} +tray-maxsize = ${xrdb:polybar.tray-maxsize:15} +tray-scale = ${xrdb:polybar.tray-scale:1} +maxlen = ${xrdb:polybar.maxlen:50} #+END_SRC **** Intervals @@ -5586,6 +5587,7 @@ line-color = #fff ; Number of spaces to add at the beginning/end of the bar ; Individual side values can be defined using: ; padding-{left,right} +padding-left = ${self.module-margin} padding-right = ${self.module-margin} ; Number of spaces to add before/after each module @@ -5730,7 +5732,7 @@ content = "" content-foreground = ${colors.powermenu-foreground} content-background = ${colors.powermenu-background} content-underline = ${colors.powermenu-underline} -content-padding = ${bar/mybar.module-margin} +content-padding = ${sizes.module-padding} ; "click-(left|middle|right)" will be executed using "/bin/sh -c $COMMAND" ; click-left = notify-send left @@ -5787,7 +5789,7 @@ label-title-foreground = ${colors.dwm-title-foreground} label-title-background = ${colors.dwm-title-background} label-title-underline = ${colors.dwm-title-underline} label-title-maxlen = ${sizes.maxlen} -; label-title-padding = ${sizes.module-padding} +label-title-padding = ${sizes.module-dwm-padding} ; Symbol of current layout ; Available tokens: @@ -5796,14 +5798,14 @@ label-layout = %symbol% label-layout-foreground = ${colors.dwm-layout-foreground} label-layout-background = ${colors.dwm-layout-background} label-layout-underline = ${colors.dwm-layout-underline} -label-layout-padding = ${sizes.module-padding} +label-layout-padding = ${sizes.module-dwm-padding} ; Text to show when currently focused window is floating label-floating = "(F)" label-floating-foreground = ${colors.dwm-floating-foreground} label-floating-background = ${colors.dwm-floating-background} label-floating-underline = ${colors.dwm-floating-underline} -; label-floating-padding = ${sizes.module-padding} +label-floating-padding = ${sizes.module-dwm-padding} ; States: focused, unfocused, visible, urgent, empty ; Available tokens: @@ -5814,28 +5816,28 @@ label-focused = %name% label-focused-foreground = ${colors.dwm-focused-foreground} label-focused-background = ${colors.dwm-focused-background} label-focused-underline = ${colors.dwm-focused-underline} -label-focused-padding = ${sizes.module-padding} +label-focused-padding = ${sizes.module-dwm-padding} ; unfocused = Unselected tag on unselected monitor label-unfocused = %name% label-unfocused-foreground = ${colors.dwm-unfocused-foreground} label-unfocused-background = ${colors.dwm-unfocused-background} label-unfocused-underline = ${colors.dwm-unfocused-underline} -label-unfocused-padding = ${sizes.module-padding} +label-unfocused-padding = ${sizes.module-dwm-padding} ; visible = Unselected tag, but occupied tag on any monitor label-visible = %name% label-visible-foreground = ${colors.dwm-visible-foreground} label-visible-background = ${colors.dwm-visible-background} label-visible-underline = ${colors.dwm-visible-underline} -label-visible-padding = ${sizes.module-padding} +label-visible-padding = ${sizes.module-dwm-padding} ; urgent = Unselected tag with window that has urgency hint set label-urgent = %name% label-urgent-foreground = ${colors.dwm-urgent-foreground} label-urgent-background = ${colors.dwm-urgent-background} label-urgent-underline = ${colors.dwm-urgent-underline} -label-urgent-padding = ${sizes.module-padding} +label-urgent-padding = ${sizes.module-dwm-padding} ; empty = Unselected and unoccupied tag ; This can be set to an empty string to hide empty tags @@ -5843,7 +5845,7 @@ label-empty = %name% label-empty-foreground = ${colors.dwm-empty-foreground} label-empty-background = ${colors.dwm-empty-background} label-empty-underline = ${colors.dwm-empty-underline} -label-empty-padding = ${sizes.module-padding} +label-empty-padding = ${sizes.module-dwm-padding} #+END_SRC **** Media Playing (Playerctl) @@ -5876,9 +5878,9 @@ interval = ${intervals.media-playing} ; - deprecated ;