-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpolybar.conf
More file actions
197 lines (171 loc) · 4.47 KB
/
polybar.conf
File metadata and controls
197 lines (171 loc) · 4.47 KB
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
;=====================================================
;
; To learn more about how to configure Polybar
; go to https://github.com/jaagr/polybar
;
; The README contains alot of information
;
;=====================================================
[colors]
bg = #181818
bg-alt = ${xrdb:background:#282828}
fg = ${xrdb:color3:#d79921}
fg-alt = ${xrdb:foreground:#ebdbb2}
primary = ${xrdb:color11:#fabd2f}
secondary = ${xrdb:color5:#b16286}
alert = ${xrdb:color9:#fb4934}
[bar/hraesvelgr]
monitor = eDP-1
width = 100%
height = 20
;offset-x = 1%
;offset-y = 1%
fixed-center = false
background = ${colors.bg}
foreground = ${colors.fg}
font-0 = "artwiz drift:pixelsize=12;0"
modules-left = i3
modules-center = mpd
modules-right = wlan eth date temperature battery volume powermenu
;override-redirect = true
;wm-restack = i3
scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
fg = ${colors.secondary}
index-sort = true
wrapping-scroll = false
label-mode-padding = 2
label-mode-foreground = ${colors.bg-alt}
label-mode-background = ${colors.secondary}
; focused = Active workspace on focused monitor
label-focused = %index%
label-focused-foreground = ${self.fg}
label-focused-background = ${colors.bg-alt}
label-focused-padding = 2
; unfocused = Inactive workspace on any monitor
label-unfocused = %index%
label-unfocused-foreground = ${self.fg}
label-unfocused-padding = 2
; visible = Active workspace on unfocused monitor
label-visible = %index%
label-visible-foreground = ${self.fg}
label-visible-background = ${self.label-focused-background}
label-visible-padding = ${self.label-focused-padding}
; urgent = Workspace with urgency hint set
label-urgent = %index%
label-urgent-foreground = ${self.fg}
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
icon-prev =
icon-stop =
icon-play =
icon-pause =
icon-next =
label-song-maxlen = 25
label-song-ellipsis = true
[module/wlan]
type = internal/network
interface = wlp1s0
interval = 3.0
format-connected = <ramp-signal> <label-connected>
format-connected-background = ${colors.primary}
format-connected-padding = 2
label-connected = %essid%
label-connected-foreground = ${colors.bg-alt}
ramp-signal-foreground = ${self.label-connected-foreground}
ramp-signal-0 =
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
[module/date]
type = internal/date
interval = 5
date = " %a %d"
date-alt = " %Y-%m-%d"
time = %I:%M
time-alt = %H:%M:%S
format-prefix =
label = %date% %time%
format-padding = 2
[module/volume]
type = internal/volume
format-volume = <ramp-volume>
format-volume-foreground = ${colors.bg}
format-volume-background = ${colors.primary}
format-volume-padding = 1
label-muted =
ramp-volume-0 =
ramp-volume-1 =
ramp-volume-2 =
ramp-volume-3 =
ramp-volume-4 =
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
format-charging-padding = 2
format-discharging-padding = 2
format-full-padding = 2
format-charging = <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full-prefix = " "
format-full-prefix-foreground = ${colors.primary}
ramp-capacity-foreground = ${colors.primary}
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
label-charging =
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 60
format-padding = 2
format-warn-padding = 2
format = <ramp> <label>
format-background = ${colors.primary}
label-foreground = ${colors.bg-alt}
format-warn = <ramp> <label-warn>
format-warn-background = ${colors.alert}
label = %temperature%
label-warn = %temperature%
label-warn-foreground = ${self.label-foreground}
ramp-foreground = ${self.label-foreground}
ramp-0 =
ramp-1 =
ramp-2 =
[module/powermenu]
type = custom/menu
format-spacing = 1
format-padding = 2
label-open =
label-close =
label-separator =
label-separator-foreground = ${colors.fg-alt}
menu-0-0 =
menu-0-0-exec = menu-open-1
menu-0-1 =
menu-0-1-exec = menu-open-2
menu-0-1-foreground = ${colors.alert}
menu-1-0 =
menu-1-0-exec = menu-open-0
menu-1-1 =
menu-1-1-exec = sudo reboot
menu-2-0 =
menu-2-0-foreground = ${colors.alert}
menu-2-0-exec = sudo poweroff
menu-2-1 =
menu-2-1-exec = menu-open-0
[settings]
screenchange-reload = true
[global/wm]
margin-top = 5
margin-bottom = 5
; vim:ft=dosini