From 751017858e5c19d73db25cf5996d722512dda3c0 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Tue, 11 Oct 2016 20:00:10 +0200 Subject: [PATCH] wip: Base config rewrite --- config | 1162 +++++++++++++++----------------------------------------- 1 file changed, 308 insertions(+), 854 deletions(-) diff --git a/config b/config index 619f42a2..e2aaf3bd 100644 --- a/config +++ b/config @@ -1,922 +1,376 @@ -[settings] -; Limit the amount of events sent to lemonbar within a set timeframe: -; - "Allow updates within of time" -; Default values: -throttle_limit = 5 -throttle_ms = 50 - ; -; 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/i3 -; internal/memory -; internal/mpd -; internal/network -; 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 +; this config is written for an unreleased version (lemonbuddy "2.0-beta" branch) +; it might need some tweaking to run on the latest released version... try for yourself ; [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 +offset_x = 0 +offset_y = 0 -background = #111111 -foreground = #ccffffff -linecolor = ${bar/bottom.background} +background = #ee222222 +foreground = #ccfafafa +linecolor = #666 -spacing = 3 -lineheight = 2 -;padding_left = 0 -padding_right = 4 -module_margin_left = 0 -module_margin_right = 6 +border-bottom = 2 +border-bottom-color = #333 -; 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 +spacing = 1 +lineheight = 1 +padding_left = 0 +padding_right = 2 +module_margin_left = 1 +module_margin_right = 2 + +font-0 = tamzen:size=9;1 +font-1 = siji:pixelsize=10;0 +font-2 = unifont:size=6;-1 modules-left = bspwm -modules-right = cpu memory -; modules-right = cpu memory +modules-center = mpd +; modules-right = volume wifi battery memory cpu date +modules-right = volume memory cpu date + +tray-position = right + +wm-restack = bspwm + [bar/external_bottom] monitor = HDMI-1 bottom = true width = 100% -height = 27 -;clickareas = 25 +height = ${bar/top.height} -background = #111111 -foreground = #ccffffff -linecolor = ${bar/external_bottom.background} +background = ${bar/top.background} +foreground = ${bar/top.foreground} +linecolor = ${bar/top.linecolor} -spacing = 3 -lineheight = 2 -;padding_left = 0 -padding_right = 3 +border-top = 2 +border-top-color = #333 + +spacing = ${bar/top.spacing} +lineheight = ${bar/top.lineheight} +padding_right = ${bar/top.padding_right} module_margin_left = 0 -module_margin_right = 6 +module_margin_right = ${bar/top.module_margin_right} -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 +font-0 = ${bar/top.font-0} +font-1 = ${bar/top.font-1} modules-left = bspwm -modules-right = clock +modules-right = date powermenu + +wm-restack = ${bar/top.wm-restack} + + +[module/bspwm] +type = internal/bspwm +format = + +; workspace_icon-0 = term; +; workspace_icon-1 = web; +; workspace_icon-2 = code; +; workspace_icon-3 = music; +; workspace_icon-4 = irssi; +; workspace_icon-default =  +workspace_icon-default = x + +label-active = o +label-active-background = #ee333333 +label-active-underline= #cc333333 +label-active-padding = 2 + +label-occupied = %{O-1}⏺%{O-1} +label-occupied-padding = 2 + +label-urgent = ! +label-urgent-background = #bd2c40 +label-urgent-padding = 2 + +label-empty = x +label-empty-foreground = #444 +label-empty-padding = 2 + +; label-monocle =  +; label-monocle-padding = 2 +; label-monocle-background = #171717 +; label-monocle-foreground = #e60053 + +; label-floating =  +; label-floating-padding = 2 +; label-floating-background = #171717 +; label-floating-foreground = #e60053 + + +[module/cpu] +type = internal/cpu +interval = 2 + +format =