; ; Bar configurations ; --------------------------------------- ; ; Quote the value to keep spaces: ; key = " value" ; ; Values for the current bar can be accessed using: ; ${BAR.foreground} ; ; Other values can be referenced using: ; ${section.key} ; ; format:NAME = ; label:NAME[:(foreground|background|(under|over)line|font|padding)] = ; icon:NAME[:(foreground|background|(under|over)line|font|padding)] = ; ramp:NAME:[0-9]+[:(foreground|background|(under|over)line|font|padding)] = ; animation:NAME:[0-9]+[:(foreground|background|(under|over)line|font|padding)] = ; ; bar:NAME:width = ; bar:NAME:format = (tokens: %fill% %indicator% %empty%) ; bar:NAME:foreground:[0-9]+ = ; bar:NAME:indicator[:(foreground|background|(under|over)line|font|padding)] = ; bar:NAME:fill[:(foreground|background|(under|over)line|font|padding)] = ; bar:NAME:empty[:(foreground|background|(under|over)line|font|padding)] = ; ; These keys can be used to style the module container ; format:NAME:spacing = N (unit: whitespace) ; format:NAME:padding = N (unit: whitespace) ; format:NAME:margin = N (unit: whitespace) ; format:NAME:offset = N (unit: pixels) ; format:NAME:foreground = #hexcolor ; format:NAME:background = #hexcolor ; format:NAME:underline = #hexcolor ; format:NAME:overline = #hexcolor ; ; Module types: ; internal/backlight ; internal/battery ; internal/bspwm ; internal/cpu ; internal/date ; internal/memory ; internal/mpd ; internal/network ; internal/rtorrent ; internal/volume ; ; custom/text ; content ; click:(left|middle|right) ; scroll:(up|down) ; custom/script ; exec ; interval ; format ; click:(left|middle|right) ; scroll:(up|down) ; custom/menu ; format ; label:open ; label:close ; menu:LEVEL:n ; menu:LEVEL:n:exec ; [bar/top] monitor = eDP-1 width = 100% height = 30 clickareas = 35 background = #222222 foreground = #eefafafa linecolor = ${bar/top.background} ;separator = | spacing = 3 lineheight = 14 ;padding_left = 5 ;padding_right = 2 module_margin_left = 3 module_margin_right = 3 font:0 = NotoSans-Regular:size=8;0 font:1 = MaterialIcons:size=10;0 font:2 = Termsynu:size=8;-1 font:3 = FontAwesome:size=10;0 ; modules:left = powermenu mpd ; modules:right = backlight volume wireless-network wired-network battery date modules:right = battery [bar/bottom] monitor = eDP-1 bottom = true width = 100% height = 27 ;clickareas = 25 background = #111111 foreground = #ccffffff linecolor = ${bar/bottom.background} spacing = 3 lineheight = 2 ;padding_left = 0 padding_right = 4 module_margin_left = 0 module_margin_right = 6 ; font:idx = font:size=N;offsetY font:0 = NotoSans-Regular:size=8;0 font:1 = Unifont:size=6;-3 ;font:1 = Termsynu:size=8;-1 font:2 = FontAwesome:size=8;-2 font:3 = NotoSans-Regular:size=8;-1 font:4 = MaterialIcons:size=10;-1 modules:left = bspwm modules:right = rtorrent cpu memory ; modules:right = cpu memory [bar/external_bottom] monitor = HDMI-1 bottom = true width = 100% height = 27 ;clickareas = 25 background = #111111 foreground = #ccffffff linecolor = ${bar/external_bottom.background} spacing = 3 lineheight = 2 ;padding_left = 0 padding_right = 3 module_margin_left = 0 module_margin_right = 6 font:0 = NotoSans-Regular:size=8;0 font:1 = Unifont:size=6;-3 font:2 = FontAwesome:size=8;-2 font:3 = NotoSans-Regular:size=8;-1 font:4 = MaterialIcons:size=10;0 modules:left = bspwm modules:right = clock [module/backlight] type = internal/backlight ; Use the following command to list available cards: ; $ ls -1 /sys/class/backlight/ card = intel_backlight ; Available tags: ;