aboutsummaryrefslogtreecommitdiff
path: root/config.ini
blob: 0dd7660fbf57d51a85ac406c37408c3752fc3cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
;; ~/.config/polybar/config.ini

[colors]
bg                   = #080808
bg-alt               = #101010
fg                   = #d8d8d8
fg-dim               = #8c8c8c
accent               = #1f3d5c
urgent               = #8b2f2f

[bar/main]
monitor              =
width                = 100%
height               = 22
offset-x             = 0
offset-y             = 0
bottom               = true
background           = ${colors.bg}
foreground           = ${colors.fg}
padding-left         = 0
padding-right        = 0
module-margin-left   = 0
module-margin-right  = 0
font-0               = "Fira Nerd Font:pixelsize=11:antialias=true;3"
modules-left         = xmonad
modules-center       =
modules-right        = cpu memory volume date time tray
cursor-default       = default
cursor-click         = default
cursor-scroll        = default

[module/xmonad]
type                 = custom/script
exec                 = tail -F /tmp/xmonad-log 2>/dev/null
tail                 = true
format-padding       = 1

[module/cpu]
type                 = internal/cpu
interval             = 2
format               = <label>
format-background    = ${colors.bg-alt}
format-padding       = 2
format-margin-left   = 2
label                = CPU %percentage%%
label-foreground     = ${colors.fg-dim}

[module/memory]
type                 = internal/memory
interval             = 2
format               = <label>
format-background    = ${colors.bg-alt}
format-padding       = 2
format-margin-left   = 2
label                = MEM %used%
label-foreground     = ${colors.fg-dim}

[module/volume]
type                 = custom/script
exec                 = pamixer --get-volume-human 2>/dev/null || echo --
interval             = 2
format               = <label>
format-background    = ${colors.bg-alt}
format-padding       = 2
format-margin-left   = 2
label                = VOL %output%
label-foreground     = ${colors.fg-dim}

[module/date]
type                 = internal/date
interval             = 10
date                 = %a %d %b
format               = <label>
format-background    = ${colors.bg-alt}
format-padding       = 2
format-margin-left   = 2
label                = %date%
label-foreground     = ${colors.fg-dim}

[module/time]
type                 = internal/date
interval             = 10
date                 = %H:%M
format               = <label>
format-background    = ${colors.accent}
format-padding       = 2
format-margin-left   = 2
label                = %date%
label-foreground     = #ffffff

[module/tray]
type                 = internal/tray
tray-padding         = 6
tray-background      = ${colors.bg}
tray-maxsize         = 14