-
Notifications
You must be signed in to change notification settings - Fork 3
/
polybar.ini
170 lines (157 loc) · 3.78 KB
/
polybar.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
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
include-file = color
[settings]
screenchange-reload = true
[global/wm]
margin-top = 0
margin-bottom = 0
[bar/main]
monitor = DisplayPort-1
width = 1914
height = 24
offset-x = 3
offset-y = 3
padding-right = 1
module-margin = 1
modules-left = bspwm xwindow
modules-center =
modules-right = net memory cpu tempCPU date
font-0 = Sarasa UI J:size=10;3
font-1 = Symbols Nerd Font Mono:size=10;4
background = ${color.background}
foreground = ${color.foreground}
border-size = 1
border-color = ${color.fg-bright}
wm-restack = bspwm
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
tray-position = right
tray-detached = false
tray-padding = 1
[bar/secondary]
monitor = HDMI-A-0
width = 1914
height = 24
offset-x = 3
offset-y = 3
padding-right = 1
module-margin = 1
modules-left = bspwm
modules-center = mpd
modules-right = net memory cpu tempGPU date
font-0 = Sarasa UI J:size=10;3
font-1 = Symbols Nerd Font Mono:size=10;4
background = ${color.background}
foreground = ${color.foreground}
border-size = 1
border-color = ${color.fg-bright}
wm-restack = bspwm
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
tray-position = none
[module/bspwm]
type = internal/bspwm
ws-icon-0 = 0;一
ws-icon-1 = 1;二
ws-icon-2 = 2;三
ws-icon-3 = 3;四
ws-icon-4 = 4;五
ws-icon-5 = 5;六
ws-icon-6 = 6;七
ws-icon-7 = 7;八
ws-icon-8 = 8;九
ws-icon-9 = 9;十
ws-icon-10 = 10;一
ws-icon-11 = 11;二
ws-icon-12 = 12;三
ws-icon-13 = 13;四
ws-icon-14 = 14;五
ws-icon-15 = 15;六
ws-icon-16 = 16;七
ws-icon-17 = 17;八
ws-icon-18 = 18;九
ws-icon-19 = 19;十
format = <label-state>
label-focused = %icon%
label-focused-background = #444
label-focused-padding = 2
label-occupied = %icon%
label-occupied-padding = 2
label-marked = %icon%+
label-marked-background = ${color.blue}
label-makred-padding = 2
label-urgent = %icon%!
label-urgent-background = ${color.green}
label-urgent-padding = 2
label-empty =
[module/xwindow]
type = internal/xwindow
label = %title:0:150:…%
[module/mpd]
type = internal/mpd
icon-prev =
icon-play =
icon-pause =
icon-next =
label-song-maxlen = 45
label-song-ellipsis = true
format-online = <label-song> <toggle><icon-prev><icon-next>
[module/net]
type = internal/network
interface-type = wired
format-connected = <label-connected>
format-connected-prefix = " "
format-connected-prefix-foreground = ${color.fg-bright}
label-connected = %netspeed%
format-disconnected =
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-prefix-foreground = ${color.fg-bright}
label = %percentage_used%%
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = ${color.fg-bright}
label = %percentage%%
[module/tempCPU]
type = internal/temperature
interval = 2
hwmon-path = /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon1/temp1_input
base-temperature = 20
warn-temperature = 85
format = <label>
format-warn = <label-warn>
format-prefix = " "
format-warn-prefix = " "
format-prefix-foreground = ${color.fg-bright}
format-warn-prefix-foreground = ${color.fg-bright}
label = %temperature-c%
label-warn = %temperature-c%
label-warn-foreground = ${color.red}
[module/tempGPU]
type = internal/temperature
interval = 2
hwmon-path = /sys/devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.0/hwmon/hwmon0/temp1_input
base-temperature = 20
warn-temperature = 85
format = <label>
format-warn = <label-warn>
format-prefix = " "
format-warn-prefix = " "
format-prefix-foreground = ${color.fg-bright}
format-warn-prefix-foreground = ${color.fg-bright}
label = %temperature-c%
label-warn = %temperature-c%
label-warn-foreground = ${color.red}
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %d-%m-%Y"
time = %H:%M
time-alt = %H:%M:%S
format-prefix =
format-prefix-foreground = ${color.fg-bright}
label = %date% %time%