-
Notifications
You must be signed in to change notification settings - Fork 2
/
polybar
101 lines (76 loc) · 2.2 KB
/
polybar
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
[bar/default]
fixed-center = true
bottom = true
monitor = "{{primary_screen}}"
background = #00000000
foreground = #{{colors.text}}
font-0 = {{font.monospace}}:pixelsize={{font.size}};1
module-margin = 1
separator = |
modules-left = i3
modules-center = xwindow
modules-right = pulseaudio memory cpu date
tray-position = right
tray-padding = 5
[module/xwindow]
type = internal/xwindow
; format-background = #{{colors16.dark_gray}}
format-padding = 2
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
enable-scroll = false
; custom variable
workspace-padding = 2
; focused = Active workspace on focused monitor
label-focused = %index%
label-focused-background = #{{colors.background_alt}}
label-focused-underline= #{{colors.text}}
label-focused-padding = ${self.workspace-padding}
; unfocused = Inactive workspace on any monitor
label-unfocused = %index%
label-unfocused-padding = ${self.workspace-padding}
; visible = Active workspace on unfocused monitor
label-visible = %index%
label-visible-background = #{{colors.background_alt}}
label-visible-padding = ${self.workspace-padding}
; urgent = Workspace with urgency hint set
label-urgent = %index%
label-urgent-background = #{{colors.accent}}
label-urgent-padding = ${self.workspace-padding}
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = "CPU "
format-prefix-foreground = #{{colors.text_muted}}
label = %percentage:2:2%%
[module/memory]
type = internal/memory
interval = 2
format-prefix = "MEM "
format-prefix-foreground = #{{colors.text_muted}}
label = %percentage_used:2:2%%
[module/date]
type = internal/date
interval = 1
; date and time variables needed for some reason
date = "%Y-%m-%d"
time = %H:%M:%S
label = %date% %time%
format-prefix = "TIME "
format-prefix-foreground = #{{colors.text_muted}}
[module/pulseaudio]
type = internal/pulseaudio
format-volume-prefix = "VOL "
format-volume-prefix-foreground = #{{colors.text_muted}}
label-volume = "%percentage%%"
label-volume-foreground = #{{colors.text}}
format-muted-prefix = "VOL "
format-muted-prefix-foreground = #{{colors.text_muted}}
label-muted = Muted
label-muted-foreground = #{{colors.text_muted}}
[settings]
screenchange-reload = true
[global/wm]
margin-top = 5
; vim:ft=dosini