polybar/config

377 lines
8.1 KiB
Plaintext
Raw Normal View History

2016-05-19 14:41:06 +00:00
;
2016-10-11 18:00:10 +00:00
; 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
2016-05-19 14:41:06 +00:00
;
[bar/top]
monitor = eDP-1
width = 100%
2016-10-11 18:00:10 +00:00
height = 27
offset_x = 0
offset_y = 0
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
background = #ee222222
foreground = #ccfafafa
linecolor = #666
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
border-bottom = 2
border-bottom-color = #333
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
spacing = 1
lineheight = 1
padding_left = 0
padding_right = 2
module_margin_left = 1
module_margin_right = 2
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
font-0 = tamzen:size=9;1
font-1 = siji:pixelsize=10;0
font-2 = unifont:size=6;-1
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
modules-left = bspwm
modules-center = mpd
; modules-right = volume wifi battery memory cpu date
modules-right = volume memory cpu date
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
tray-position = right
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
wm-restack = bspwm
2016-05-19 14:41:06 +00:00
[bar/external_bottom]
monitor = HDMI-1
bottom = true
width = 100%
2016-10-11 18:00:10 +00:00
height = ${bar/top.height}
background = ${bar/top.background}
foreground = ${bar/top.foreground}
linecolor = ${bar/top.linecolor}
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
border-top = 2
border-top-color = #333
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
spacing = ${bar/top.spacing}
lineheight = ${bar/top.lineheight}
padding_right = ${bar/top.padding_right}
2016-05-19 14:41:06 +00:00
module_margin_left = 0
2016-10-11 18:00:10 +00:00
module_margin_right = ${bar/top.module_margin_right}
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
font-0 = ${bar/top.font-0}
font-1 = ${bar/top.font-1}
2016-05-19 14:41:06 +00:00
modules-left = bspwm
2016-10-11 18:00:10 +00:00
modules-right = date powermenu
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
wm-restack = ${bar/top.wm-restack}
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
[module/bspwm]
type = internal/bspwm
format = <label-state> <label-mode>
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
; 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
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
label-active = o
label-active-background = #ee333333
label-active-underline= #cc333333
label-active-padding = 2
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
label-occupied = %{O-1}⏺%{O-1}
label-occupied-padding = 2
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
label-urgent = !
label-urgent-background = #bd2c40
label-urgent-padding = 2
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
label-empty = x
label-empty-foreground = #444
label-empty-padding = 2
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
; label-monocle = 
; label-monocle-padding = 2
; label-monocle-background = #171717
; label-monocle-foreground = #e60053
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
; label-floating = 
; label-floating-padding = 2
; label-floating-background = #171717
; label-floating-foreground = #e60053
2016-05-19 14:41:06 +00:00
[module/cpu]
type = internal/cpu
2016-10-11 18:00:10 +00:00
interval = 2
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
format = <label> <bar-load>
2016-05-19 14:41:06 +00:00
label = CPU
2016-10-11 18:00:10 +00:00
; 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
bar-load-width = 20
bar-load-foreground-0 = #55aa55
bar-load-foreground-1 = #55aa55
bar-load-foreground-2 = #f5a70a
bar-load-foreground-3 = #ff5555
bar-load-gradient = false
bar-load-indicator = │
bar-load-indicator-font = 2
bar-load-indicator-foreground = #ff
bar-load-fill = ━
bar-load-fill-font = 2
bar-load-empty = ━
bar-load-empty-font = 2
bar-load-empty-foreground = #444444
2016-05-19 14:41:06 +00:00
[module/memory]
type = internal/memory
2016-10-11 18:00:10 +00:00
interval = 2
2016-05-19 14:41:06 +00:00
format = <label> <bar-used>
2016-05-19 14:41:06 +00:00
label = RAM
2016-10-11 18:00:10 +00:00
bar-used-width = 20
bar-used-foreground-0 = #55aa55
2016-10-11 18:00:10 +00:00
bar-used-foreground-1 = #55aa55
bar-used-foreground-2 = #f5a70a
bar-used-foreground-3 = #ff5555
2016-10-11 18:00:10 +00:00
bar-used-gradient = false
bar-used-indicator = │
bar-used-indicator-font = 2
2016-10-11 18:00:10 +00:00
bar-used-indicator-foreground = #ff
bar-used-fill = ━
bar-used-fill-font = 2
2016-10-11 18:00:10 +00:00
bar-used-empty = ━
bar-used-empty-font = 2
bar-used-empty-foreground = #444444
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
[module/wifi]
type = internal/network
interface = net1
interval = 3.0
;udspeed_minwidth = 3
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
format-connected = <ramp-signal> <label-connected>
;label-connected = %essid% %{F#66}%local_ip%
;label-connected = %{F#666}%{F#cc} %upspeed% %{F#666}%{F#cc} %downspeed%
label-connected = %{O-6 F#666}%{O2 F#cc}%downspeed%
label-disconnected = %{F#666}%{F#cc} not connected
label-disconnected-foreground = #66
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
ramp-signal-foreground = #666
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
[module/wired]
type = internal/network
interface = net0
interval = 3.0
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
label-connected = %{T3}%local_ip%%{T-}
label-disconnected = %{T3}Not connected%{T-}
label-disconnected-foreground = #66
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
[module/date]
type = internal/date
date = %%{F#666}%{F#cc} %Y-%m-%d %%{F#e60053}%%{F#cc} %H:%M
date_detailed = %%{F#666}%{F#cc} %Y-%m-%d %%{F#e60053}%%{F#cc} %H:%M:%S
interval = 5
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
[module/backlight]
type = internal/backlight
card = intel_backlight
format = <ramp> <label>
ramp-0 = 
ramp-1 = 
ramp-2 = 
ramp-foreground = #666
2016-05-19 14:41:06 +00:00
[module/volume]
type = internal/volume
speaker_mixer = Speaker
headphone_mixer = Headphone
headphone_control_numid = 9
2016-10-11 18:00:10 +00:00
; format-volume = <ramp-volume> <label-volume>
format-volume = <label-volume> <bar-volume>
label-volume = VOL
label-volume-foreground = ${BAR.foreground}
label-muted = %{F#66} sound muted
;ramp-volume-0 = 
;ramp-volume-1 = 
;ramp-volume-2 = 
;ramp-volume-3 = 
;ramp-volume-foreground = #666
;ramp-headphones-0 = 
;ramp-headphones-1 = 
bar-volume-width = 20
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = │
bar-volume-indicator-font = 2
bar-volume-indicator-foreground = #ff
bar-volume-fill = ━
bar-volume-fill-font = 2
bar-volume-empty = ━
bar-volume-empty-font = 2
bar-volume-empty-foreground = #444444
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
[module/battery]
type = internal/battery
full_at = 98
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full = %{F#666}%{F#cc} <label-full>
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-foreground = #666
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-foreground = #666
animation-charging-framerate_ms = 750
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
[module/mpd]
type = internal/mpd
format-online = <label-time> <bar-progress> <label-song> <icon-prev> <icon-seekb> <icon-stop> <toggle> <icon-seekf> <icon-next> <icon-repeat> <icon-random>
format-online-background = #ee333333
format-online-underline = #cc333333
format-online-padding = 3
format-offline = <label-offline>
format-offline-foreground = #66
label-offline = mpd is off
label-song-maxlen = 45
label-song-ellipsis = true
icon-prev = 
icon-seekb = 
icon-stop = 
icon-play = 
icon-pause = 
icon-next = 
icon-seekf = 
; icon-prev = ⏮
; icon-seekb = ⏪
; icon-stop = ⏹
; icon-play = ⏵
; icon-pause = ⏸
; icon-seekf = ⏩
; icon-next = ⏭
icon-random = 
icon-repeat = 
toggle_on-foreground = #e60053
toggle_off-foreground = #66
bar-progress-width = 15
bar-progress-indicator = 
bar-progress-indicator-foreground = #bb
bar-progress-fill = ─
bar-progress-fill-foreground = #bb
bar-progress-fill-font = 3
bar-progress-empty = ─
bar-progress-empty-foreground = #44
bar-progress-empty-font = 3
label-time-foreground = #77
[module/powermenu]
type = custom/menu
label-open = 
label-close = 
label-separator = /
2016-05-19 14:41:06 +00:00
menu-0-0 = Terminate WM
2016-10-11 18:00:10 +00:00
menu-0-0-foreground = #e60053
menu-0-0-exec = bspc quit -1
menu-0-1 = Reboot
2016-10-11 18:00:10 +00:00
menu-0-1-foreground = #e60053
menu-0-1-exec = menu_open-1
menu-0-2 = Power off
2016-10-11 18:00:10 +00:00
menu-0-2-foreground = #e60053
menu-0-2-exec = menu_open-2
menu-1-0 = Cancel
2016-10-11 18:00:10 +00:00
menu-1-0-foreground = #e60053
menu-1-0-exec = menu_open-0
menu-1-1 = Reboot
2016-10-11 18:00:10 +00:00
menu-1-1-foreground = #e60053
menu-1-1-exec = sudo reboot
menu-2-0 = Power off
2016-10-11 18:00:10 +00:00
menu-2-0-foreground = #e60053
menu-2-0-exec = sudo poweroff
menu-2-1 = Cancel
2016-10-11 18:00:10 +00:00
menu-2-1-foreground = #e60053
menu-2-1-exec = menu_open-0
2016-05-19 14:41:06 +00:00
2016-10-11 18:00:10 +00:00
[module/counter]
type = internal/counter
format = <counter>
interval = 0.1
2016-05-19 14:41:06 +00:00
; vim:ft=dosini