blob: 5565d6b494812008b9f8e668daf31c01c629e161 (
plain) (
blame)
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; To learn more about how to configure Polybar
; go to https://github.com/polybar/polybar
;
; The README contains a lot of information
;
;==========================================================
[colors]
background = #444444
background-alt = #222222
foreground = #ffffff
primary = #bbbbbb
secondary = #eeeeee
alert = #ff3b30
disabled = #5f5f5f
[bar/main]
monitor = ${env:MONITOR:}
width = 100%
; height = 15pt
height = 10pt
radius = 0
; dpi = 97
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 0pt
border-size = 0pt
border-color = #00000000
padding-top = 10
padding-left = 0
padding-right = 1
module-margin = 1
separator = |
separator-foreground = ${colors.disabled}
font-0 = cozette:size=10;1
#font-0 = JetBrainsMonoNL Nerd Font:size=10
#font-2 = Twemoji:size=1
modules-left = xworkspaces xwindow
modules-right = tray pulseaudio memory cpu system-cpu-loadavg lan date
cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true
;wm-restack = bspwm
wm-restack = i3
#[module/bspwm]
#type = internal/bspwm
#inline-mode = true
#reverse-scroll = false
[module/i3]
type = internal/i3
#pin-workspaces = true
[module/tray]
type = internal/tray
[module/xworkspaces]
type = internal/xworkspaces
label-active = %name%
label-active-background = ${colors.background-alt}
label-active-underline= ${colors.primary}
label-active-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 = ${colors.disabled}
label-empty-padding = 1
[module/xwindow]
type = internal/xwindow
label = %title:0:360:...%
[module/pulseaudio]
type = internal/pulseaudio
format-volume-prefix = "VOL "
format-volume-prefix-foreground = ${colors.primary}
format-volume = <label-volume>
label-volume = %percentage%%
label-muted = muted
label-muted-foreground = ${colors.disabled}
[module/memory]
type = internal/memory
interval = 1
format-prefix = "RAM "
format-prefix-foreground = ${colors.primary}
label = %percentage_used%%
[module/cpu]
type = internal/cpu
interval = 0.1
format = <label> <ramp-coreload>
bar-load-width = 12
bar-load-empty = "_"
bar-load-fill = "="
bar-load-indicator = "-"
format-prefix = "CPU "
format-prefix-foreground = ${colors.primary}
label = %percentage%%
label-warn = %percentage%% %{colors.warning}!!!
ramp-coreload-spacing = 1pt
ramp-coreload-0 = "▁"
ramp-coreload-1 = "▂"
ramp-coreload-2 = "▃"
ramp-coreload-3 = "▄"
ramp-coreload-4 = "▅"
ramp-coreload-5 = "▆"
ramp-coreload-6 = "▇"
ramp-coreload-7 = "█"
[network-base]
type = internal/network
interval = 5
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-disconnected = %{F#ff0000}%ifname% disconnected
[module/lan]
inherit = network-base
interface-type = wired
label-connected = %{F#bbbbbb}%ifname%%{F#eeeeee} %local_ip%
[module/date]
type = internal/date
interval = 1
#date = %H:%M
date = %Y-%m-%d %H:%M:%S
date-alt = %Y-%m-%d %H:%M:%S
label = %date%
label-foreground = ${colors.primary}
[module/system-cpu-loadavg]
type = custom/script
exec = ~/.config/polybar/system-cpu-loadavg.sh
interval = 1
[settings]
screenchange-reload = true
pseudo-transparency = true
; vim:ft=dosini
|