dotfiles/.config/polybar/config

308 lines
5.6 KiB
Text
Raw Normal View History

2020-03-04 03:51:39 +01:00
[colors]
background = #000000
background-alt = #000000
2020-03-05 17:55:31 +01:00
foreground = #ffffff
foreground-alt = #ffffff
primary = #a6f6c6
secondary = #a6f6c6
2020-03-04 03:51:39 +01:00
alert = #a17c38
active = {active}
inactive = {inactive}
2020-03-05 17:55:31 +01:00
highlight = #a6f6c6
2020-03-04 03:51:39 +01:00
error = #a64848
2020-03-05 17:55:31 +01:00
bspwmborder = #a6f6c6
2020-03-04 03:51:39 +01:00
pulse = #41434f
xkb = #844d2c
memory = #57553a
eth = #a17c38
pc = #41434f
xwindow = #a17c38
mus = #57553a
[bar/top]
monitor = ${env:MONITOR:}
font-0 = Hack:pixelsize=10;2
monitor-strict = false
override-redirect = false
bottom = false
2019-09-23 16:00:00 +02:00
fixed-center = false
2020-03-04 03:51:39 +01:00
width = 100%
height = 20
offset-x = 0%
offset-y = 0%
2019-09-23 16:00:00 +02:00
2020-03-04 03:51:39 +01:00
background = ${colors.background}
foreground = ${colors.foreground}
2019-09-23 16:00:00 +02:00
2020-03-07 16:12:22 +01:00
radius = 0
2020-03-05 17:55:31 +01:00
line-size = 3
2020-03-04 03:51:39 +01:00
line-color = #000000
2019-09-23 16:00:00 +02:00
border-size = 0
2020-03-04 03:51:39 +01:00
border-color = #000000
2019-09-23 16:00:00 +02:00
padding-left = 0
2020-03-04 03:51:39 +01:00
padding-right = 0
module-margin-left = 0
module-margin-right = 0
modules-left = bspwm sep
2019-09-23 16:00:00 +02:00
2020-03-04 03:51:39 +01:00
;modules-center = xwindow
2019-09-23 16:00:00 +02:00
2020-03-04 03:51:39 +01:00
modules-right = date sep xkeyboard sep cpu space temperature sep memory sep filesystem sep pulseaudio sep
2019-09-23 16:00:00 +02:00
2020-03-04 03:51:39 +01:00
tray-position = right
tray-padding = 0
tray-maxsize = 14
tray-background = #000000
2019-09-23 16:00:00 +02:00
2020-03-04 03:51:39 +01:00
wm-restack = bspwm
;override-redirect = true
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
2019-09-23 16:00:00 +02:00
cursor-click = pointer
cursor-scroll = ns-resize
[module/date]
type = internal/date
2020-03-04 03:51:39 +01:00
interval = 1
format = <label>
format-foreground = ${colors.foreground}
format-background = ${colors.background}
label = "%date% %time%"
label-padding = 1
label-foreground = ${colors.foreground}
date = %F
time = %H:%M:%S %p
[module/filesystem]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
spacing = 1
format-mounted = <label-mounted>
format-foreground = ${colors.foreground}
format-background = ${colors.background}
2020-03-19 16:36:41 +01:00
label-mounted = %used% / %total%
2020-03-04 03:51:39 +01:00
label-mounted-padding = 1
label-mounted-foreground = ${colors.foreground}
label-mounted-background = ${colors.background}
[module/xwindow]
type=internal/xwindow
format=<label>
label="%title%"
label-foreground=${colors.foreground}
label-padding = 1
label-maxlen = 50
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <label-volume>
2020-03-19 16:36:41 +01:00
label-volume = "%percentage%%"
2020-03-04 03:51:39 +01:00
label-volume-padding = 1
label-volume-foreground = ${colors.foreground}
label-muted = "muted"
label-muted-padding = 1
label-muted-foreground = #333333
[module/xkeyboard]
type = internal/xkeyboard
format=<label-layout><label-indicator>
label-layout = "%name%"
label-layout-padding = 1
label-indicator-on = %name%
label-indicator-on-padding-right = 1
label-indicator-on-foreground = #333333
2019-09-23 16:00:00 +02:00
2020-03-04 03:51:39 +01:00
[module/battery]
type = internal/battery
2019-09-23 16:00:00 +02:00
2020-03-04 03:51:39 +01:00
battery = BAT0
adapter = ADP1
full-at = 100
2019-09-23 16:00:00 +02:00
2020-03-04 03:51:39 +01:00
format-charging = <label-charging>
format-discharging = <label-discharging>
2019-09-23 16:00:00 +02:00
2020-03-04 03:51:39 +01:00
label-charging = CHR %percentage%%
label-discharging = BAT %percentage%%
[module/sep]
type = custom/text
content = "|"
[module/space]
type = custom/text
content = " "
[module/bspwm]
type = internal/bspwm
pin-workspaces = true
2020-03-19 16:36:41 +01:00
format = <label-state>[<label-mode>]
2020-03-04 03:51:39 +01:00
label-focused = %name%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused-padding = 1
label-occupied = %name%
label-occupied-padding = 1
label-urgent = %name%
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
label-empty = %name%
label-empty-foreground = #333333
label-empty-padding = 1
2020-03-19 16:36:41 +01:00
label-monocle = m
label-tiled = t
label-floating = s
label-fullscreen = f
label-marked = m
label-marked-foreground = #a6f6c6
label-locked = x
label-locked-foreground = #a6f6c6
label-sticky = y
label-sticky-foreground = #a6f6c6
label-private = z
label-private-foreground = #a6f6c6
2020-03-04 03:51:39 +01:00
; label-separator = |
[module/cpu]
type = internal/cpu
2020-03-19 16:36:41 +01:00
label = %percentage%%
2020-03-04 03:51:39 +01:00
label-padding-left = 1
[module/memory]
type = internal/memory
format = <label>
2020-03-19 16:36:41 +01:00
label = %gb_used% / %gb_total% | %gb_swap_used% / %gb_swap_total%
2020-03-04 03:51:39 +01:00
label-padding = 1
[module/temperature]
type = internal/temperature
format = <label>
format-warn = <label-warn>
label = %temperature-c%
label-padding-right = 1
label-warn = ! %temperature-c%
label-warn-padding-right = 1
label-warn-foreground = ${colors.alert}
2019-09-23 16:00:00 +02:00
[module/powermenu]
type = custom/menu
format-spacing = 1
2020-03-04 03:51:39 +01:00
label-open ="[I/O]"
label-open-padding = 1
label-open-font = 0
label-open-background = ${colors.background}
label-open-foreground = ${colors.secondary}
label-close = "[ X ]"
label-close-padding-left = 1
label-close-font = 0
label-close-background = ${colors.background}
label-close-foreground = ${colors.secondary}
label-separator = "|"
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = Reboot
menu-0-0-font = 0
2019-09-23 16:00:00 +02:00
menu-0-0-exec = menu-open-1
2020-03-04 03:51:39 +01:00
menu-0-1 = Power Off
menu-0-1-font = 0
2019-09-23 16:00:00 +02:00
menu-0-1-exec = menu-open-2
2020-03-04 03:51:39 +01:00
menu-0-2 = Hibernate
menu-0-2-font = 0
2019-09-23 16:00:00 +02:00
menu-0-2-exec = menu-open-3
2020-03-04 03:51:39 +01:00
menu-0-3 = Suspend
menu-0-3-font = 0
menu-0-3-exec = menu-open-4
menu-0-4 = Lock
menu-0-4-font = 0
menu-0-4-exec = menu-open-5
menu-0-5 = Logout
menu-0-5-font = 0
menu-0-5-exec = menu-open-6
menu-1-0 = Reboot
menu-1-0-font = 0
menu-1-0-exec = systemctl reboot
menu-1-1 = Cancel
menu-1-1-font = 0
menu-1-1-exec = menu-open-0
menu-2-0 = Power Off
menu-2-0-font = 0
menu-2-0-exec = systemctl poweroff
menu-2-1 = Cancel
menu-2-1-font = 0
2019-09-23 16:00:00 +02:00
menu-2-1-exec = menu-open-0
2020-03-04 03:51:39 +01:00
menu-3-0 = Hibernate
menu-3-0-font = 0
menu-3-0-exec = systemctl hibernate
menu-3-1 = Cancel
menu-3-1-font = 0
2019-09-23 16:00:00 +02:00
menu-3-1-exec = menu-open-0
2020-03-04 03:51:39 +01:00
menu-4-0 = Suspend
menu-4-0-font = 0
menu-4-0-exec = systemctl suspend
menu-4-1 = Cancel
menu-4-1-font = 0
menu-4-1-exec = menu-open-0
menu-5-0 = Lock
menu-5-0-font = 0
menu-5-0-exec = loginctl lock-session
menu-5-1 = Cancel
menu-5-1-font = 0
menu-5-1-exec = menu-open-0
menu-6-0 = Logout
menu-6-0-font = 0
menu-6-0-exec = kill -9 -1
menu-6-1 = Cancel
menu-6-1-font = 0
menu-6-1-exec = menu-open-0