Default Configuration
New in version 3.6.0.
Polybar's default configuration lives in /etc/polybar/config.ini
and is
loaded if no other configuration file can be found.
1;==========================================================
2;
3;
4; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
5; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
6; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
7; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
8; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
9; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
10;
11;
12; To learn more about how to configure Polybar
13; go to https://github.com/polybar/polybar
14;
15; The README contains a lot of information
16;
17;==========================================================
18
19[colors]
20background = #282A2E
21background-alt = #373B41
22foreground = #C5C8C6
23primary = #F0C674
24secondary = #8ABEB7
25alert = #A54242
26disabled = #707880
27
28[bar/example]
29width = 100%
30height = 24pt
31radius = 6
32
33; dpi = 96
34
35background = ${colors.background}
36foreground = ${colors.foreground}
37
38line-size = 3pt
39
40border-size = 4pt
41border-color = #00000000
42
43padding-left = 0
44padding-right = 1
45
46module-margin = 1
47
48separator = |
49separator-foreground = ${colors.disabled}
50
51font-0 = monospace;2
52
53modules-left = xworkspaces xwindow
54modules-right = filesystem pulseaudio xkeyboard memory cpu wlan eth date
55
56cursor-click = pointer
57cursor-scroll = ns-resize
58
59enable-ipc = true
60
61; wm-restack = generic
62; wm-restack = bspwm
63; wm-restack = i3
64
65; override-redirect = true
66
67[module/systray]
68type = internal/tray
69
70format-margin = 8pt
71tray-spacing = 16pt
72
73[module/xworkspaces]
74type = internal/xworkspaces
75
76label-active = %name%
77label-active-background = ${colors.background-alt}
78label-active-underline= ${colors.primary}
79label-active-padding = 1
80
81label-occupied = %name%
82label-occupied-padding = 1
83
84label-urgent = %name%
85label-urgent-background = ${colors.alert}
86label-urgent-padding = 1
87
88label-empty = %name%
89label-empty-foreground = ${colors.disabled}
90label-empty-padding = 1
91
92[module/xwindow]
93type = internal/xwindow
94label = %title:0:60:...%
95
96[module/filesystem]
97type = internal/fs
98interval = 25
99
100mount-0 = /
101
102label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
103
104label-unmounted = %mountpoint% not mounted
105label-unmounted-foreground = ${colors.disabled}
106
107[module/pulseaudio]
108type = internal/pulseaudio
109
110format-volume-prefix = "VOL "
111format-volume-prefix-foreground = ${colors.primary}
112format-volume = <label-volume>
113
114label-volume = %percentage%%
115
116label-muted = muted
117label-muted-foreground = ${colors.disabled}
118
119[module/xkeyboard]
120type = internal/xkeyboard
121blacklist-0 = num lock
122
123label-layout = %layout%
124label-layout-foreground = ${colors.primary}
125
126label-indicator-padding = 2
127label-indicator-margin = 1
128label-indicator-foreground = ${colors.background}
129label-indicator-background = ${colors.secondary}
130
131[module/memory]
132type = internal/memory
133interval = 2
134format-prefix = "RAM "
135format-prefix-foreground = ${colors.primary}
136label = %percentage_used:2%%
137
138[module/cpu]
139type = internal/cpu
140interval = 2
141format-prefix = "CPU "
142format-prefix-foreground = ${colors.primary}
143label = %percentage:2%%
144
145[network-base]
146type = internal/network
147interval = 5
148format-connected = <label-connected>
149format-disconnected = <label-disconnected>
150label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
151
152[module/wlan]
153inherit = network-base
154interface-type = wireless
155label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
156
157[module/eth]
158inherit = network-base
159interface-type = wired
160label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
161
162[module/date]
163type = internal/date
164interval = 1
165
166date = %H:%M
167date-alt = %Y-%m-%d %H:%M:%S
168
169label = %date%
170label-foreground = ${colors.primary}
171
172[settings]
173screenchange-reload = true
174pseudo-transparency = true
175
176; vim:ft=dosini