task(core): Basic sample configurations

This commit is contained in:
Michael Carlberg 2016-05-24 09:24:27 +02:00
parent 6a4e8d4196
commit 0bcd4f9a53
8 changed files with 182 additions and 927 deletions

54
examples/config Normal file
View File

@ -0,0 +1,54 @@
[bar/example]
width = 100%
height = 25
bottom = true
dock = false
background = #00ffffff
foreground = #fff
lineheight = 1
padding_left = 1
padding_right = 1
module_margin_left = 0
module_margin_right = 0
font:0 = sans:size=8;0
font:1 = font awesome:size=10:weight=heavy;0
modules:left = label
modules:right = cpu ram clock
[module/label]
type = custom/text
content = Lemonbuddy example
content:background = #af2031
content:underline = #cf4253
content:overline = #cf4253
content:padding = 2
[module/cpu]
type = internal/cpu
label = CPU: %percentage%
format:background = #c42
format:underline = #f75
format:overline = #f75
format:padding = 2
[module/ram]
type = internal/memory
label = RAM: %percentage_used%
format:background = #42c
format:underline = #75f
format:overline = #75f
format:padding = 2
[module/clock]
type = internal/date
date = %Y-%m-%d %H:%M
format:background = #493
format:underline = #7a6
format:overline = #7a6
format:padding = 2
; vim:ft=dosini

64
examples/config.bspwm Normal file
View File

@ -0,0 +1,64 @@
[bar/example]
width = 100%
height = 25
bottom = true
dock = false
background = #00ffffff
foreground = #fff
lineheight = 1
padding_left = 1
padding_right = 1
module_margin_left = 0
module_margin_right = 0
font:0 = sans:size=8;0
font:1 = fontawesome:size=10:weight=heavy;0
modules:left = label
modules:center = bspwm
modules:right = cpu ram clock
[module/label]
type = custom/text
content = Lemonbuddy example
content:background = #af2031
content:underline = #cf4253
content:overline = #cf4253
content:padding = 2
[module/bspwm]
type = internal/bspwm
label:active = 
label:active:padding = 1
label:occupied = 
label:occupied:padding = 1
label:empty = 
label:empty:padding = 1
[module/cpu]
type = internal/cpu
label = CPU: %percentage%
format:background = #c42
format:underline = #f75
format:overline = #f75
format:padding = 2
[module/ram]
type = internal/memory
label = RAM: %percentage_used%
format:background = #42c
format:underline = #75f
format:overline = #75f
format:padding = 2
[module/clock]
type = internal/date
date = %Y-%m-%d %H:%M
format:background = #493
format:underline = #7a6
format:overline = #7a6
format:padding = 2
; vim:ft=dosini

64
examples/config.i3 Normal file
View File

@ -0,0 +1,64 @@
[bar/example]
width = 100%
height = 25
bottom = true
dock = false
background = #00ffffff
foreground = #fff
lineheight = 1
padding_left = 1
padding_right = 1
module_margin_left = 0
module_margin_right = 0
font:0 = sans:size=8;0
font:1 = fontawesome:size=10:weight=heavy;0
modules:left = label
modules:center = i3
modules:right = cpu ram clock
[module/label]
type = custom/text
content = Lemonbuddy example
content:background = #af2031
content:underline = #cf4253
content:overline = #cf4253
content:padding = 2
[module/i3]
type = internal/i3
label:focused = 
label:focused:padding = 1
label:unfocused = 
label:unfocused:padding = 1
label:visible = 
label:visible:padding = 1
[module/cpu]
type = internal/cpu
label = CPU: %percentage%
format:background = #c42
format:underline = #f75
format:overline = #f75
format:padding = 2
[module/ram]
type = internal/memory
label = RAM: %percentage_used%
format:background = #42c
format:underline = #75f
format:overline = #75f
format:padding = 2
[module/clock]
type = internal/date
date = %Y-%m-%d %H:%M
format:background = #493
format:underline = #7a6
format:overline = #7a6
format:padding = 2
; vim:ft=dosini

View File

@ -1,60 +0,0 @@
; vim:ft=dosini
[bar/i3]
monitor = eDP1
height = 29
lineheight = 3
bottom = true
background = #e22
foreground = #000
linecolor = #000
spacing = 3
font:0 = NotoSans-Regular:size=12;0
font:1 = MaterialIcons:size=14;0
font:2 = FontAwesome:size=14;0
modules:left = i3
[module/i3]
type = internal/i3
; Only include workspaces located inside the
; current bar's monitor
;
; Default: true
local_workspaces = true
; Remove N chars from the start of the workspace name
; This is useful since you can define the i3 workspaces with
; both a friendly name and a number, e.g. "1.code", "2.chat", etc
; If you don't prefix the workspaces with a number in your i3
; config, all workspaces will be assigned a number of -1.
;
; Default: 0
workspace_name_strip_nchars = 2
; workspae_icon:N = workspace_name;icon
workspace_icon:0 = term;
workspace_icon:1 = web;
workspace_icon:2 = code;
workspace_icon:3 = music;
workspace_icon:4 = irssi;
workspace_icon:default = 
label:focused = %icon% %name%
label:focused:padding = 2
label:focused:underline = #000
label:unfocused = %index%
label:unfocused:padding = 2
label:unfocused:foreground = #99ee2222
;label:visible = %index%
label:visible:padding = 2
; label:visible:underline = #444
; label:urgent = %icon% %index%
; label:urgent:padding = 2
label:dimmed:underline = ${bar/i3.background}

View File

@ -1,172 +0,0 @@
; vim:ft=dosini
[bar/i3]
monitor = HDMI1
height = 35
lineheight = 4
dock = true
offset_x = 60
offset_y = 15
width = 100%
background = #228f8f8f
foreground = #ffffffff
spacing = 3
; font:0 = NotoSans-Bold:size=10;0
font:0 = LiberationMono:weight=200:size=9;0
font:1 = MaterialIcons:size=11;0
font:2 = FontAwesome:weight=200:size=10;0
font:3 = Termsynu:size=8;-1
padding_left = 2
padding_right = 2
modules:left = i3
modules:right = date
[bar/i3_bottom]
monitor = HDMI1
height = 35
lineheight = 4
dock = true
offset_x = 60
offset_y = 15
width = 100%
bottom = true
background = #228f8f8f
foreground = #ffffffff
spacing = 3
; font:0 = NotoSans-Bold:size=10;0
font:0 = LiberationMono:weight=200:size=9;0
font:1 = MaterialIcons:size=11;0
font:2 = FontAwesome:weight=200:size=10;0
font:3 = Termsynu:size=8;-1
padding_left = 2
padding_right = 2
modules:center = mpd
[module/i3]
type = internal/i3
local_workspaces = true
workspace_name_strip_nchars = 2
workspace_icon:0 = console;
workspace_icon:1 = web;
workspace_icon:2 = code;
workspace_icon:3 = music;
workspace_icon:4 = irssi;
workspace_icon:default = 
label:focused = %icon% %name%
label:focused:padding = 1
label:focused:underline = #9a4
label:unfocused = %index%
label:unfocused:padding = 2
label:unfocused:margin = 1
label:unfocused:foreground = #555
label:unfocused:underline = #222
;label:visible = %index%
label:visible:padding = 1
; label:visible:underline = #444
; label:urgent = %icon% %index%
; label:urgent:padding = 1
label:dimmed:underline = ${bar/i3.background}
[module/date]
type = internal/date
; see "man date" for formatting
; if date_detailed is defined, clicking the area will toggle between formats
; if you want to use lemonbar tags here you need to use %%{...}
date = %%{F#888}%Y-%m-%d%%{F-} %%{F#fff} %H:%M%%{F-}
date_detailed = %%{F#aaa}%A, %d %B %Y %%{F#fff} %H:%M%%{F#666}:%%{F#9a4}%S%%{F-}
; Seconds to sleep between updates
;interval = 1.0
; Available tags:
; <date> (default)
format = <date>
format:spacing = 1
format:underline = #333
[module/mpd]
type = internal/mpd
; Seconds to sleep between progressbar/song timer updates
;interval = 0.5
; Available tags:
; <label:song> (default)
; <label:time>
; <bar:progress>
; <toggle> - gets replaced with <icon:(pause|play)>
; <icon:random>
; <icon:repeat>
; <icon:repeatone>
; <icon:prev>
; <icon:stop>
; <icon:play>
; <icon:pause>
; <icon:next>
format:online = <icon:prev> <icon:stop> <toggle> <icon:next> <icon:repeat> <icon:random> <bar:progress> <label:time> <label:song>
; Available tags:
; <label:offline>
format:offline = <label:offline>
format:offline:offset = -8
; Available tokens:
; %artist%
; %album%
; %title%
; Default: %artist% - %title%
;label:song =  %artist% - %title%
;label:song:foreground = ${BAR.foreground}
; Available tokens:
; %elapsed%
; %total%
; Default: %elapsed% / %total%
;label:time = %elapsed% / %total%
label:time:foreground = #66fafafa
; Available tokens:
; None
label:offline =  mpd is off
label:offline:foreground = #66fafafa
icon:play = 
icon:pause = 
icon:stop = 
icon:prev = 
icon:next = 
icon:random = 
icon:repeat = 
;icon:repeatone = 🔂
; Used to display the state of random/repeat/repeatone
toggle_on:foreground =
toggle_off:foreground = #66fafafa
; Required if <bar:progress> is used
bar:progress:width = 25
bar:progress:format = %fill%%indicator%%empty%
bar:progress:indicator = |
bar:progress:indicator:foreground = #ffffffff
bar:progress:indicator:font = 4
bar:progress:fill = ─
bar:progress:fill:foreground = #ddffffff
bar:progress:fill:font = 4
bar:progress:empty = ─
bar:progress:empty:font = 4
bar:progress:empty:foreground = #44ffffff

View File

@ -1,229 +0,0 @@
; vim:ft=dosini
[bar/test]
;locale = sv_SE.UTF-8
monitor = HDMI1
; monitor = LVDS1
; width = 100%
height = 29
;lineheight = 14
lineheight = 4
background = #222222
foreground = #eefafafa
linecolor = #222222
spacing = 3
module_margin_left = 5
module_margin_right = 5
; font:0 = NotoSans-Regular:size=8;0
font:0 = Termsynu:size=8;1
font:1 = MaterialIcons:size=10;0
font:2 = FontAwesome:size=10;0
; modules:left = counter battery bspwm cpu date memory mpd network volume
; modules:left = counter battery bspwm
; modules:left = counter battery bspwm cpu date memory mpd network network2 volume
;modules:center = i3 network network2
modules:center = i3
; modules:center = counter counter2
; modules:left = network
[module/counter]
type = internal/counter
interval = 1
[module/counter2]
type = internal/counter
interval = 1.25
[module/counter3]
type = internal/counter
interval = 1.5
[module/counter4]
type = internal/counter
interval = 2
[module/backlight]
type = internal/backlight
card = intel_backlight
;interval = 1
; Available tags:
; <label> (default)
; <bar>
format = <bar>
; Available tokens:
; %percentage% (default)
;label = %percentage%
; Required if <bar> is used
bar:width = 25
bar:format = %{+u}%{+o}%fill%%empty%%{-u}%{-o}
bar:fill = █
bar:fill:foreground = #99ffffff
bar:fill:font = 3
bar:empty = █
bar:empty:font = 3
bar:empty:foreground = #44ffffff
[module/battery]
type = internal/battery
full_at = 99
format:charging = <ramp:capacity> <label:charging>
format:discharging = <ramp:capacity> <label:discharging>
format:full = <ramp:capacity> <label:full>
label:charging = Charging %percentage%
label:discharging = Discharging %percentage%
label:full = Fully charged
ramp:capacity:0 = 
ramp:capacity:1 = 
ramp:capacity:2 = 
ramp:capacity:3 = 
ramp:capacity:4 = 
[module/bspwm]
type = internal/bspwm
label:active = %name%
label:occupied = %index%
label:urgent = %index%
label:empty = %index%
[module/cpu]
type = internal/cpu
label = CPU %percentage%
[module/date]
type = internal/date
;date = %Y-%m-%d
date = %A, %d %B %Y %H:%M:%S
[module/i3]
type = internal/i3
workspace_icon:0 = 1;
workspace_icon:1 = 2;
workspace_icon:2 = 3;
workspace_icon:3 = 4;
workspace_icon:4 = 5;
workspace_icon:default = 
label:focused = %icon% %name% %index%
label:focused:padding = 2
label:focused:underline = #ff0
label:unfocused = %icon% %index%
label:unfocused:padding = 2
label:unfocused:foreground = #55ffffff
label:visible = %icon% %index%
label:visible:padding = 2
label:visible:underline = #444
label:urgent = %icon% %index%
label:urgent:padding = 2
[module/memory]
type = internal/memory
label = RAM %percentage_used%
[module/mpd]
type = internal/mpd
format:online = <toggle> <icon:random> <icon:repeatone> <label:time> <label:song>
label:offline = mpd is off
icon:play = ►
icon:pause = ◼
; icon:random = 🔀
; icon:repeatone = 🔂
icon:random = random
icon:repeatone = single
toggle_on:foreground = #f90
[module/network]
type = internal/network
interface = net1
label:connected = [%ifname%] %essid% 
label:packetloss = (!!) [%ifname%] %essid% 
; label:connected = %ifname% %local_ip%
; label:disconnected = not connected
; label:packetloss = %essid%
[module/network2]
type = internal/network
interface = net0
label:connected = [%ifname%] %local_ip% 
label:packetloss = (!!) [%ifname%] %local_ip% 
; label:connected = %ifname% %local_ip%
; label:disconnected = not connected
; label:packetloss = %essid%
; [module/rtorrent]
; type = internal/rtorrent
; script = /home/jaagr/var/github/jaagr/lemonbuddy/scripts/torrents.sh
; rtorrent_session_dir = /home/jaagr/.cache/rtorrent
; display_count = 2
; title_maxlen = 30
[module/volume]
type = internal/volume
speaker_mixer = Speaker
headphone_mixer = Headphone
headphone_control_numid = 9
[module/custom_counter]
type = custom/script
exec = echo %counter%
interval = 1
[module/custom_text]
type = custom/text
; "content" has the same properties as "format:NAME"
; content = 
content = test
content:background = #000
content:foreground = #fff
content:padding = 4
; "click:(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND"
click:left = echo left
click:middle = echo middle
click:right = echo right
; "scroll:(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND"
scroll:up = echo scroll up
scroll:down = echo scroll down
[module/custom_menu]
type = custom/menu
; Available tags:
; <label:toggle> (default) - gets replaced with <label:(open|close)>
; <menu> (default)
;format = <label:toggle> <menu>
format:background = #111111
format:padding = 3
label:open = OPEN
label:close = CLOSE
menu:0:0 = Action 1
menu:0:0:foreground = #fba922
menu:0:0:exec = notify-send Action \#1
menu:0:1 = Action 2
menu:0:1:foreground = #fba922
menu:0:1:exec = menu_open:1
menu:0:2 = Action 3
menu:0:2:foreground = #fba922
menu:0:2:exec = menu_open:2
menu:1:0 = Cancel
menu:1:0:foreground = #fba922
menu:1:0:exec = menu_open:0
menu:1:1 = Confirm
menu:1:1:foreground = #fba922
menu:1:1:exec = notify-send Action \#2
menu:2:0 = Confirm
menu:2:0:foreground = #fba922
menu:2:0:exec = notify-send Action \#3
menu:2:1 = Cancel
menu:2:1:foreground = #fba922
menu:2:1:exec = menu_open:0

View File

@ -1,364 +0,0 @@
[bar/top]
monitor = eDP1
width = 100%
height = 30
background = #eefafafa
foreground = #222222
linecolor = ${bar/top.background}
separator = |
spacing = 3
lineheight = 14
module_margin_left = 3
module_margin_right = 3
modules:left = powermenu mpd
modules:right = backlight volume wireless-network wired-network battery date
[bar/bottom]
monitor = eDP1
bottom = true
width = 100%
height = 27
background = #111111
foreground = #ccffffff
linecolor = ${bar/bottom.background}
spacing = 3
lineheight = 2
padding_right = 4
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;-1
modules:left = bspwm
modules:right = cpu memory
[bar/external_bottom]
monitor = HDMI1
bottom = true
width = 100%
height = 27
background = #111111
foreground = #ccffffff
linecolor = ${bar/external_bottom.background}
spacing = 3
lineheight = 2
padding_right = 3
module_margin_left = 0
module_margin_right = 6
modules:left = bspwm
modules:right = clock
[module/backlight]
type = internal/backlight
card = intel_backlight
format = <ramp> <bar>
ramp:0 = 
ramp:1 = 
ramp:2 = 
bar:width = 10
bar:format = %{+u}%{+o}%fill%%{-u}%{-o}%indicator%%{+u}%{+o}%empty%%{-u}%{-o}
bar:indicator = |
bar:indicator:foreground = #dd000000
bar:indicator:font = 3
bar:fill = █
bar:fill:foreground = #99000000
bar:fill:font = 3
bar:empty = █
bar:empty:font = 3
bar:empty:foreground = #999
[module/battery]
type = internal/battery
full_at = 99
format:charging = <animation:charging> <label:charging>
format:discharging = <ramp:capacity> <label:discharging>
format:full = <ramp:capacity> <label:full>
ramp:capacity:0 = 
ramp:capacity:0:foreground = #f53c3c
ramp:capacity:1 = 
ramp:capacity:1:foreground = #ffa900
ramp:capacity:2 = 
ramp:capacity:2:foreground = #000000
ramp:capacity:3 = 
ramp:capacity:3:foreground = #000000
ramp:capacity:4 = 
ramp:capacity:4:foreground = #000000
bar:capacity:width = 10
bar:capacity:format = %{+u}%{+o}%fill%%empty%%{-u}%{-o}
bar:capacity:fill = █
bar:capacity:fill:foreground = #dd000000
bar:capacity:fill:font = 3
bar:capacity:empty = █
bar:capacity:empty:font = 3
bar:empty:foreground = #999
animation:charging:0 = 
animation:charging:1 = 
animation:charging:2 = 
animation:charging:3 = 
animation:charging:4 = 
animation:charging:framerate_ms = 750
[module/bspwm]
type = internal/bspwm
workspace_icon:default = 
format = <label:state> <label:mode>
label:dimmed:underline = ${BAR.background}
label:active = %icon%
label:active:foreground = #ffffff
label:active:background = #3f3f3f
label:active:underline = #fba922
label:active:font = 4
label:active:padding = 4
label:occupied = %icon%
label:occupied:underline = #555555
label:occupied:font = 4
label:occupied:padding = 4
label:urgent = %icon%
label:urgent:foreground = #000000
label:urgent:background = #bd2c40
label:urgent:underline = #9b0a20
label:urgent:font = 4
label:urgent:padding = 4
label:empty = %icon%
label:empty:foreground = #55ffffff
label:empty:font = 4
label:empty:padding = 4
label:monocle = 
label:monocle:underline = ${module/bspwm.label:active:underline}
label:monocle:padding = 2
label:locked = 
label:locked:foreground = #bd2c40
label:locked:underline = ${module/bspwm.label:monocle:underline}
label:locked:padding = ${module/bspwm.label:monocle:padding}
label:sticky = 
label:sticky:foreground = #fba922
label:sticky:underline = ${module/bspwm.label:monocle:underline}
label:sticky:padding = ${module/bspwm.label:monocle:padding}
label:private = 
label:private:foreground = #bd2c40
label:private:underline = ${module/bspwm.label:monocle:underline}
label:private:padding = ${module/bspwm.label:monocle:padding}
[module/cpu]
type = internal/cpu
interval = 0.5
format = <label> <ramp:load_per_core>
label = CPU
ramp:load_per_core:0 = ▁
ramp:load_per_core:0:font = 2
ramp:load_per_core:0:foreground = #55aa55
ramp:load_per_core:1 = ▂
ramp:load_per_core:1:font = 2
ramp:load_per_core:1:foreground = #55aa55
ramp:load_per_core:2 = ▃
ramp:load_per_core:2:font = 2
ramp:load_per_core:2:foreground = #55aa55
ramp:load_per_core:3 = ▄
ramp:load_per_core:3:font = 2
ramp:load_per_core:3:foreground = #55aa55
ramp:load_per_core:4 = ▅
ramp:load_per_core:4:font = 2
ramp:load_per_core:4:foreground = #f5a70a
ramp:load_per_core:5 = ▆
ramp:load_per_core:5:font = 2
ramp:load_per_core:5:foreground = #f5a70a
ramp:load_per_core:6 = ▇
ramp:load_per_core:6:font = 2
ramp:load_per_core:6:foreground = #ff5555
ramp:load_per_core:7 = █
ramp:load_per_core:7:font = 2
ramp:load_per_core:7:foreground = #ff5555
[module/date]
type = internal/date
date = %%{F#888}%Y-%m-%d%%{F-} %%{F#fff}%H:%M%%{F-}
date_detailed = %%{F#888}%A, %d %B %Y% %%{F#fff}%H:%M%%{F#666}:%%{F#fba922}%S%%{F-}
format =  <date>
format:background = #111
format:foreground = #eee
format:padding = 5
[module/memory]
type = internal/memory
format = <label> <bar:used>
label = RAM
bar:used:width = 50
bar:used:foreground:0 = #55aa55
bar:used:foreground:1 = #557755
bar:used:foreground:2 = #f5a70a
bar:used:foreground:3 = #ff5555
bar:used:indicator = ▐
bar:used:indicator:font = 2
bar:used:indicator:foreground = #ddffffff
bar:used:fill = ▐
bar:used:fill:font = 2
bar:used:empty = ▐
bar:used:empty:font = 2
bar:used:empty:foreground = #444444
[module/mpd]
type = internal/mpd
format:online = <icon:prev> <icon:stop> <toggle> <icon:next> <icon:repeat> <icon:random> <bar:progress> <label:time> <label:song>
format:offline = <label:offline>
format:offline:offset = -8
label:offline =  mpd is off
label:offline:foreground = #66fafafa
icon:play = 
icon:pause = 
icon:stop = 
icon:prev = 
icon:next = 
icon:random = 
icon:repeat = 
toggle_on:foreground =
toggle_off:foreground = #aafafafa
bar:progress:width = 45
bar:progress:format = %{+u}%{+o}%fill%%{-u}%{-o}%indicator%%{+u}%{+o}%empty%%{-u}%{-o}
bar:progress:indicator = |
bar:progress:indicator:foreground = #dd000000
bar:progress:indicator:font = 3
bar:progress:fill = █
bar:progress:fill:foreground = #aa000000
bar:progress:fill:font = 3
bar:progress:empty = █
bar:progress:empty:font = 3
bar:progress:empty:foreground = #999
[module/wireless-network]
type = internal/network
interface = net1
interval = 2.0
connectivity_test_interval = 10
format:connected = <ramp:signal> <label:connected>
label:connected = %essid%
label:disconnected =  not connected
label:disconnected:foreground = #66000000
ramp:signal:0 = 
ramp:signal:0:foreground = #33000000
ramp:signal:1 = 
ramp:signal:1:foreground = #66000000
ramp:signal:2 = 
ramp:signal:2:foreground = #99000000
ramp:signal:3 = 
ramp:signal:3:foreground = #cc000000
ramp:signal:4 = 
ramp:signal:4:foreground = #000000ff
animation:packetloss:0 = 
animation:packetloss:0:foreground = #ffa64c
animation:packetloss:1 = 
animation:packetloss:1:foreground = ${bar/top.foreground}
animation:packetloss:framerate_ms = 500
[module/wired-network]
type = internal/network
interface = net0
interval = 2.0
label:connected =  %{T3}%local_ip%%{T-}
[module/rtorrent]
type = internal/rtorrent
script = /home/jaagr/var/github/jaagr/lemonbuddy/scripts/torrents.sh
rtorrent_session_dir = /home/jaagr/.cache/rtorrent
display_count = 2
title_maxlen = 30
format = <label> <bar:progress>
label =  %{F#eefafafa}%title%%{F-}
label:foreground = #fba922
bar:progress:width = 10
bar:progress:format = %{+u}%{+o}%fill%%{-u}%{-o}%indicator%%{+u}%{+o}%empty%%{-u}%{-o}
bar:progress:indicator = |
bar:progress:indicator:foreground = ${BAR.foreground}
bar:progress:indicator:font = 2
bar:progress:fill = █
bar:progress:fill:foreground = #5a5
bar:progress:fill:font = 2
bar:progress:empty = █
bar:progress:empty:foreground = #555
bar:progress:empty:font = 2
[module/volume]
type = internal/volume
speaker_mixer = Speaker
headphone_mixer = Headphone
headphone_control_numid = 9
format:volume = <ramp:volume> <label:volume>
label:muted =  muted
label:muted:foreground = #66000000
ramp:volume:0 = 
ramp:volume:0:foreground = #99000000
ramp:volume:1 = 
ramp:volume:1:foreground = #bb000000
ramp:volume:2 = 
ramp:volume:2:foreground = #dd000000
ramp:volume:3 = 
ramp:volume:3:foreground = #ff000000
bar:volume:width = 10
bar:volume:format = %{+u}%{+o}%fill%%empty%%{-u}%{-o}
bar:volume:fill = █
bar:volume:fill:foreground = #dd000000
bar:volume:fill:font = 3
bar:volume:empty = █
bar:volume:empty:font = 3
bar:volume:empty:foreground = #44000000
[module/powermenu]
type = custom/menu
format:background = #111
format:foreground = #eee
format:padding = 4
label:open = 
label:close = 
menu:0:0 = Terminate WM
menu:0:0:foreground = #fba922
menu:0:0:exec = bspc quit -1
menu:0:1 = Reboot
menu:0:1:foreground = #fba922
menu:0:1:exec = menu_open:1
menu:0:2 = Power off
menu:0:2:foreground = #fba922
menu:0:2:exec = menu_open:2
menu:1:0 = Cancel
menu:1:0:foreground = #fba922
menu:1:0:exec = menu_open:0
menu:1:1 = Reboot
menu:1:1:foreground = #fba922
menu:1:1:exec = sudo reboot
menu:2:0 = Power off
menu:2:0:foreground = #fba922
menu:2:0:exec = sudo poweroff
menu:2:1 = Cancel
menu:2:1:foreground = #fba922
menu:2:1:exec = menu_open:0
[module/text-example]
type = custom/text
content = 
content:background = #000
content:foreground = #fff
content:padding = 4
click:left = echo left
click:middle = echo middle
click:right = echo right
scroll:up = echo scroll up
scroll:down = echo scroll down
[module/script-example]
type = custom/script
exec = echo %counter%
interval = 0.5
format:background = #111
format:foreground = #eee
format:padding = 4
click:left = echo left %counter%
click:middle = echo middle %counter%
click:right = echo right %counter%
scroll:up = echo scroll up %counter%
scroll:down = echo scroll down %counter%
[module/clock]
type = internal/date
interval = 5
date = %%{F#999}%Y-%m-%d%%{F-} %%{F#fff}%H:%M%%{F-}
; vim:ft=dosini

View File

@ -1,102 +0,0 @@
[bar/external_top]
monitor = HDMI1
width = 100%
height = 27
background = #111111
foreground = #ccffffff
linecolor = ${bar/external_top.background}
spacing = 3
lineheight = 2
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 = cpu
[module/wireless-network]
type = internal/network
interface = net1
interval = 2.0
connectivity_test_interval = 0
format:connected = <ramp:signal> <label:connected>
label:connected = %essid%
label:disconnected =  not connected
label:disconnected:foreground = #66000000
ramp:signal:0 = 
ramp:signal:0:foreground = #33000000
ramp:signal:1 = 
ramp:signal:1:foreground = #66000000
ramp:signal:2 = 
ramp:signal:2:foreground = #99000000
ramp:signal:3 = 
ramp:signal:3:foreground = #cc000000
ramp:signal:4 = 
ramp:signal:4:foreground = #000000ff
[module/wired-network]
type = internal/network
interface = net0
interval = 2.0
label:connected =  %{T3}%local_ip%%{T-}
[module/battery]
type = internal/battery
full_at = 99
format:charging = <bar:capacity> <label:charging>
format:discharging = <bar:capacity> <label:discharging>
format:full = <bar:capacity> <label:full>
bar:capacity:width = 10
bar:capacity:format = %{+u}%{+o}%fill%%empty%%{-u}%{-o}
bar:capacity:fill = █
bar:capacity:fill:foreground = #ddffffff
bar:capacity:fill:font = 3
bar:capacity:empty = █
bar:capacity:empty:font = 3
bar:capacity:empty:foreground = #44ffffff
bar:capacity:gradient = false
bar:capacity:foreground:0 = #55aa55
bar:capacity:foreground:1 = #557755
bar:capacity:foreground:2 = #f5a70a
bar:capacity:foreground:3 = #ff5555
animation:charging:0 = 
animation:charging:1 = 
animation:charging:2 = 
animation:charging:3 = 
animation:charging:4 = 
animation:charging:framerate_ms = 750
[module/cpu]
type = internal/cpu
interval = 0.5
format = <label> <ramp:load_per_core>
label = CPU
ramp:load_per_core:0 = ▁
ramp:load_per_core:0:font = 2
ramp:load_per_core:0:foreground = #55aa55
ramp:load_per_core:1 = ▂
ramp:load_per_core:1:font = 2
ramp:load_per_core:1:foreground = #55aa55
ramp:load_per_core:2 = ▃
ramp:load_per_core:2:font = 2
ramp:load_per_core:2:foreground = #55aa55
ramp:load_per_core:3 = ▄
ramp:load_per_core:3:font = 2
ramp:load_per_core:3:foreground = #55aa55
ramp:load_per_core:4 = ▅
ramp:load_per_core:4:font = 2
ramp:load_per_core:4:foreground = #f5a70a
ramp:load_per_core:5 = ▆
ramp:load_per_core:5:font = 2
ramp:load_per_core:5:foreground = #f5a70a
ramp:load_per_core:6 = ▇
ramp:load_per_core:6:font = 2
ramp:load_per_core:6:foreground = #ff5555
ramp:load_per_core:7 = █
ramp:load_per_core:7:font = 2
ramp:load_per_core:7:foreground = #ff5555