refactor(config): Cleanup example configs

This commit is contained in:
Michael Carlberg 2016-10-11 07:50:04 +02:00
parent 9754393c49
commit 69f648c513
3 changed files with 43 additions and 177 deletions

View File

@ -7,106 +7,53 @@
; ;
;===================================================== ;=====================================================
[settings]
; Limit the amount of events sent to lemonbar within a set timeframe:
; - "Allow <throttle_limit> updates within <throttle_ms> of time"
; Default values:
;throttle_limit = 5
;throttle_ms = 50
[bar/example] [bar/example]
monitor = eDP-1 ;monitor = eDP1
bottom = true bottom = true
dock = false dock = false
width = 100% width = 100%
height = 25 height = 25
;offset_x = 0 padding_left = 2
;offset_y = 0 padding_right = 2
background = #00ffffff background = #00ffffff
foreground = #fff foreground = #ddefefef
;linecolor = #ff0000
spacing = 1
lineheight = 1
;separator = |
;locale = en_US.UTF-8
padding_left = 1
padding_right = 1
module_margin_left = 0
module_margin_right = 0
font-0 = Sans:size=8;0 font-0 = Sans:size=8;0
font-1 = FontAwesome:size=10:weight=heavy;0 font-1 = FontAwesome:size=10:weight=heavy;0
modules-left = label modules-left = label
;modules-center = counter modules-center = clock
;modules-right = volume cpu ram clock modules-right = volume cpu ram
modules-right = volume clock
tray-position = right
[module/label] [module/label]
type = custom/text type = custom/text
content = Lemonbuddy example content = %{F#f90f59}Example%{F#ff} configuration
content-background = #af2031
content-underline = #cf4253
content-overline = #cf4253
content-padding = 2
[module/cpu] [module/cpu]
type = internal/cpu type = internal/cpu
label = CPU: %percentage% label = CPU: %percentage%
format-background = #c42 format-foreground = #f9b70f
format-underline = #f75
format-overline = #f75
format-padding = 2
[module/ram] [module/ram]
type = internal/memory type = internal/memory
label = RAM: %percentage_used% label = RAM: %percentage_used%
format-background = #42c format-foreground = #0fc7f9
format-underline = #75f
format-overline = #75f
format-padding = 2
[module/clock] [module/clock]
type = internal/date type = internal/date
date = %Y-%m-%d %H:%M date = %Y-%m-%d %H:%M
format-background = #493 format-foreground = #e10ff9
format-underline = #7a6
format-overline = #7a6
format-padding = 2
[module/volume] [module/volume]
type = internal/volume type = internal/volume
;speaker_mixer = Speaker format-volume-foreground = #1ef90f
;headphone_mixer = Headphone format-muted-foreground = #f90f2e
;headphone_control_numid = 9
format-volume-background = #933484
format-volume-underline = #9d6294
format-volume-overline = #9d6294
format-volume-padding = 2
format-muted-background = #933484
format-muted-underline = #9d6294
format-muted-overline = #9d6294
format-muted-padding = 2
label-volume = Volume: %percentage% label-volume = Volume: %percentage%
label-muted = Sound is muted label-muted = Sound is muted
; [module/counter]
; type = custom/script
; exec = echo %counter%
; interval = 1
; format-background = #393484
; format-underline = #69d294
; format-overline = #69d294
; format-padding = 2
; vim:ft=dosini ; vim:ft=dosini

View File

@ -7,13 +7,6 @@
; ;
;===================================================== ;=====================================================
[settings]
; Limit the amount of events sent to lemonbar within a set timeframe:
; - "Allow <throttle_limit> updates within <throttle_ms> of time"
; Default values:
;throttle_limit = 5
;throttle_ms = 50
[bar/example] [bar/example]
;monitor = eDP1 ;monitor = eDP1
bottom = true bottom = true
@ -22,79 +15,44 @@ dock = false
width = 100% width = 100%
height = 25 height = 25
;offset_x = 0 padding_left = 2
;offset_y = 0 padding_right = 2
background = #00ffffff background = #00ffffff
foreground = #fff foreground = #ddefefef
;linecolor = #ff0000
spacing = 1
lineheight = 1
;separator = |
;locale = en_US.UTF-8
padding_left = 1
padding_right = 1
module_margin_left = 0
module_margin_right = 0
font-0 = Sans:size=8;0 font-0 = Sans:size=8;0
font-1 = FontAwesome:size=10:weight=heavy;0 font-1 = FontAwesome:size=10:weight=heavy;0
modules-left = label modules-left = bspwm
modules-center = bspwm modules-center = label
modules-right = volume cpu ram clock modules-right = volume cpu ram clock
tray-position = right
[module/label] [module/label]
type = custom/text type = custom/text
content = Lemonbuddy example content = %{F#f90f59}Example%{F#ff} configuration
content-background = #af2031
content-underline = #cf4253
content-overline = #cf4253
content-padding = 2
[module/cpu] [module/cpu]
type = internal/cpu type = internal/cpu
label = CPU: %percentage% label = CPU: %percentage%
format-background = #c42 format-foreground = #f9b70f
format-underline = #f75
format-overline = #f75
format-padding = 2
[module/ram] [module/ram]
type = internal/memory type = internal/memory
label = RAM: %percentage_used% label = RAM: %percentage_used%
format-background = #42c format-foreground = #0fc7f9
format-underline = #75f
format-overline = #75f
format-padding = 2
[module/clock] [module/clock]
type = internal/date type = internal/date
date = %Y-%m-%d %H:%M date = %Y-%m-%d %H:%M
format-background = #493 format-foreground = #e10ff9
format-underline = #7a6
format-overline = #7a6
format-padding = 2
[module/volume] [module/volume]
type = internal/volume type = internal/volume
;speaker_mixer = Speaker format-volume-foreground = #1ef90f
;headphone_mixer = Headphone format-muted-foreground = #1ef90f
;headphone_control_numid = 9
format-volume-background = #933484
format-volume-underline = #9d6294
format-volume-overline = #9d6294
format-volume-padding = 2
format-muted-background = #933484
format-muted-underline = #9d6294
format-muted-overline = #9d6294
format-muted-padding = 2
label-volume = Volume: %percentage% label-volume = Volume: %percentage%
label-muted = Sound is muted label-muted = Sound is muted
@ -102,9 +60,11 @@ label-muted = Sound is muted
type = internal/bspwm type = internal/bspwm
label-active =  label-active = 
label-active-padding = 1 label-active-padding = 1
label-active-foreground = #0ba2f9
label-occupied =  label-occupied = 
label-occupied-padding = 1 label-occupied-padding = 1
label-empty =  label-empty = 
label-empty-padding = 1 label-empty-padding = 1
label-empty-foreground = #55
; vim:ft=dosini ; vim:ft=dosini

View File

@ -7,13 +7,6 @@
; ;
;===================================================== ;=====================================================
[settings]
; Limit the amount of events sent to lemonbar within a set timeframe:
; - "Allow <throttle_limit> updates within <throttle_ms> of time"
; Default values:
;throttle_limit = 5
;throttle_ms = 50
[bar/example] [bar/example]
;monitor = eDP1 ;monitor = eDP1
bottom = true bottom = true
@ -22,79 +15,44 @@ dock = false
width = 100% width = 100%
height = 25 height = 25
;offset_x = 0 padding_left = 2
;offset_y = 0 padding_right = 2
background = #00ffffff background = #00ffffff
foreground = #fff foreground = #ddefefef
;linecolor = #ff0000
spacing = 1
lineheight = 1
;separator = |
;locale = en_US.UTF-8
padding_left = 1
padding_right = 1
module_margin_left = 0
module_margin_right = 0
font-0 = Sans:size=8;0 font-0 = Sans:size=8;0
font-1 = FontAwesome:size=10:weight=heavy;0 font-1 = FontAwesome:size=10:weight=heavy;0
modules-left = label modules-left = i3
modules-center = i3 modules-center = label
modules-right = volume cpu ram clock modules-right = volume cpu ram clock
tray-position = right
[module/label] [module/label]
type = custom/text type = custom/text
content = Lemonbuddy example content = %{F#f90f59}Example%{F#ff} configuration
content-background = #af2031
content-underline = #cf4253
content-overline = #cf4253
content-padding = 2
[module/cpu] [module/cpu]
type = internal/cpu type = internal/cpu
label = CPU: %percentage% label = CPU: %percentage%
format-background = #c42 format-foreground = #f9b70f
format-underline = #f75
format-overline = #f75
format-padding = 2
[module/ram] [module/ram]
type = internal/memory type = internal/memory
label = RAM: %percentage_used% label = RAM: %percentage_used%
format-background = #42c format-foreground = #0fc7f9
format-underline = #75f
format-overline = #75f
format-padding = 2
[module/clock] [module/clock]
type = internal/date type = internal/date
date = %Y-%m-%d %H:%M date = %Y-%m-%d %H:%M
format-background = #493 format-foreground = #e10ff9
format-underline = #7a6
format-overline = #7a6
format-padding = 2
[module/volume] [module/volume]
type = internal/volume type = internal/volume
;speaker_mixer = Speaker format-volume-foreground = #1ef90f
;headphone_mixer = Headphone format-muted-foreground = #f90f2e
;headphone_control_numid = 9
format-volume-background = #933484
format-volume-underline = #9d6294
format-volume-overline = #9d6294
format-volume-padding = 2
format-muted-background = #933484
format-muted-underline = #9d6294
format-muted-overline = #9d6294
format-muted-padding = 2
label-volume = Volume: %percentage% label-volume = Volume: %percentage%
label-muted = Sound is muted label-muted = Sound is muted
@ -102,6 +60,7 @@ label-muted = Sound is muted
type = internal/i3 type = internal/i3
label-focused =  label-focused = 
label-focused-padding = 1 label-focused-padding = 1
label-focused-foreground = #0ba2f9
label-unfocused =  label-unfocused = 
label-unfocused-padding = 1 label-unfocused-padding = 1
label-visible =  label-visible = 