-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcenter.ini
112 lines (92 loc) · 2.93 KB
/
center.ini
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
; ██████╗ ██╗ ██╗ ██████╗ ██╗██╗ ██╗██╗███╗ ██╗ ██████╗
; ██╔══██╗██║ ██║ ██╔══██╗██║██║ ██║██║████╗ ██║██╔════╝
; ██████╔╝██║ █╗ ██║ ██║ ██║██║██║ ██║██║██╔██╗ ██║██║ ███╗
; ██╔══██╗██║███╗██║ ██║ ██║██║╚██╗ ██╔╝██║██║╚██╗██║██║ ██║
; ██████╔╝╚███╔███╔╝ ██████╔╝██║ ╚████╔╝ ██║██║ ╚████║╚██████╔╝
; ╚═════╝ ╚══╝╚══╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝
; Author: Pavel Novák
; Github: https://github.com/Pavel-N
; Description: This is center part of my (Poly)bar used in my BW Diving theme.
; Note: DejaVuSans Mono font is required!
; +==============\
; | Colors |
; +==============/
; |
; |
[colors]
background = #181A1E
foreground = #C5C8C6
disabled = #707880
warn = #f00
; +===========\
; | Bar |
; +===========/
; |
; |
[bar/center]
override-redirect = true
monitor = ${env:MONITOR}
wm-restack = bspwm
;> Dimensions + Offsets
width = 16%
height = 22pt
radius = 12
offset-x = 41.75%
offset-y = 8pt
;> Appearence
background = ${colors.background}
foreground = ${colors.foreground}
border-size = 0
line-size = 2pt
;> Fonts
font-0 = DejaVuSans Mono:size=13;4
font-1 = DejaVuSansM Nerd Font:size=15;4
font-2 = DejaVuSansM Nerd Font:size=13;4
;> Modules
modules-center = memory cpu temperature
separator = |
separator-foreground = ${colors.foreground}
; +==============\
; | Memory |
; +==============/
; |
; |
[module/memory]
type = internal/memory
warn-percentage = 90
interval = 5
label = "%{T3} %{T-}%percentage_used:3%% "
label-foreground = ${colors.foreground}
format = "<label>"
label-warn = "%{T3} %{T-}%percentage_used:3%% "
label-warn-foreground = ${colors.warn}
format-warn = "<label-warn>"
; +===========\
; | CPU |
; +===========/
; |
; |
[module/cpu]
type = internal/cpu
warn-percentage = 90
interval = 5
label = "%{T2} %{T-}%percentage:3%% "
label-foreground = ${colors.foreground}
format = "<label>"
label-warn = "%{T2} %{T-}%percentage:3%% "
label-warn-foreground = ${colors.warn}
format-warn = "<label-warn>"
; +===================\
; | Temperature |
; +===================/
; |
; |
[module/temperature]
type = internal/temperature
units = false
warn-temperature = 55
interval = 5
label = "%{T3} %{T-}%temperature-c:3%° "
label-foreground = ${colors.foreground}
label-warn = "%{T3} %{T-}%temperature-c:3%° "
label-warn-foreground = ${colors.warn}