diff options
author | Yigit Sever | 2021-10-12 00:00:06 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-12 00:00:06 +0300 |
commit | 59ff76ddcebecb38114631811ac9a84d56ef0322 (patch) | |
tree | d778776782c9f78b64e83fa3c492d753a6b345af | |
parent | c1642f7bb58226ee1497064b85c4037e7e9c9be3 (diff) | |
download | dotfiles-59ff76ddcebecb38114631811ac9a84d56ef0322.tar.gz dotfiles-59ff76ddcebecb38114631811ac9a84d56ef0322.tar.bz2 dotfiles-59ff76ddcebecb38114631811ac9a84d56ef0322.zip |
polybar, luchs: modernize
-rw-r--r-- | .config/polybar/config##h.luchs | 90 |
1 files changed, 43 insertions, 47 deletions
diff --git a/.config/polybar/config##h.luchs b/.config/polybar/config##h.luchs index cb8757b..efea4d1 100644 --- a/.config/polybar/config##h.luchs +++ b/.config/polybar/config##h.luchs | |||
@@ -53,7 +53,7 @@ font-1 = Siji:size=20;1 | |||
53 | 53 | ||
54 | modules-left = i3 pulseaudio-control spotify | 54 | modules-left = i3 pulseaudio-control spotify |
55 | modules-center = xwindow | 55 | modules-center = xwindow |
56 | modules-right = backlight battery date time xkeyboard | 56 | modules-right = backlight battery date time |
57 | 57 | ||
58 | tray-position = right | 58 | tray-position = right |
59 | 59 | ||
@@ -77,28 +77,19 @@ exec = python /usr/share/polybar/scripts/spotify_status.py -f '{play_pause} {art | |||
77 | [module/backlight] | 77 | [module/backlight] |
78 | type = internal/xbacklight | 78 | type = internal/xbacklight |
79 | 79 | ||
80 | ; Available tags: | ||
81 | ; <label> (default) | ||
82 | ; <ramp> | ||
83 | ; <bar> | ||
84 | format = <ramp><label> | 80 | format = <ramp><label> |
85 | ;format-background = ${colors.background_modules} | ||
86 | ;format-foreground = ${colors.foreground_modules} | ||
87 | 81 | ||
88 | ; Available tokens: | ||
89 | ; %percentage% (default) | ||
90 | label = %percentage%% | 82 | label = %percentage%% |
91 | 83 | ||
92 | ; Only applies if <ramp> is used | ||
93 | ramp-font = 4 | 84 | ramp-font = 4 |
94 | ramp-background = ${colors.primary} | 85 | ramp-background = ${colors.primary} |
95 | ramp-foreground = ${colors.foreground} | 86 | ramp-foreground = ${colors.foreground} |
96 | ramp-padding = 1 | 87 | ramp-padding = 1 |
97 | ramp-0 = î• | 88 | ramp-0 =  |
98 | ramp-1 = î’ | 89 | ramp-1 =  |
99 | ramp-2 = îŽ | 90 | ramp-2 =  |
100 | ramp-3 = îŠ | 91 | ramp-3 =  |
101 | ramp-4 = î£ | 92 | ramp-4 =  |
102 | 93 | ||
103 | label-padding = 1 | 94 | label-padding = 1 |
104 | label-background = ${colors.background_modules} | 95 | label-background = ${colors.background_modules} |
@@ -122,47 +113,33 @@ animation-charging-background = ${colors.green} | |||
122 | animation-charging-foreground = ${colors.foreground} | 113 | animation-charging-foreground = ${colors.foreground} |
123 | animation-charging-padding = 1 | 114 | animation-charging-padding = 1 |
124 | 115 | ||
125 | ; Available tags: | ||
126 | ; <label-full> (default) | ||
127 | ; <bar-capacity> | ||
128 | ; <ramp-capacity> | ||
129 | ;format-full = <ramp-capacity> <label-full> | ||
130 | |||
131 | ; Available tokens: | ||
132 | ; %percentage% (default) | ||
133 | ; %time% | ||
134 | ; %consumption% (shows current charge rate in watts) | ||
135 | label-charging = %percentage%% %time% | 116 | label-charging = %percentage%% %time% |
136 | label-charging-background = ${colors.background_modules} | 117 | label-charging-background = ${colors.background_modules} |
137 | label-charging-foreground = ${colors.foreground_modules} | 118 | label-charging-foreground = ${colors.foreground_modules} |
138 | label-charging-padding = 1 | 119 | label-charging-padding = 1 |
139 | 120 | ||
140 | ; Available tokens: | ||
141 | ; %percentage% (default) | ||
142 | ; %time% | ||
143 | ; %consumption% (shows current discharge rate in watts) | ||
144 | label-discharging = %percentage%% %time% | 121 | label-discharging = %percentage%% %time% |
145 | label-discharging-background = ${colors.background_modules} | 122 | label-discharging-background = ${colors.background_modules} |
146 | label-discharging-foreground = ${colors.foreground_modules} | 123 | label-discharging-foreground = ${colors.foreground_modules} |
147 | label-discharging-padding = 1 | 124 | label-discharging-padding = 1 |
148 | 125 | ||
149 | ; Available tokens: | 126 | label-full =  |
150 | ; %percentage% (default) | 127 | label-full-background = ${colors.green} |
151 | label-full = full | 128 | label-full-foreground = ${colors.foreground_modules} |
129 | label-full-padding = 1 | ||
152 | 130 | ||
153 | ; Only applies if <ramp-capacity> is used | 131 | ; Only applies if <ramp-capacity> is used |
154 | ramp-capacity-0 =  | 132 | ramp-capacity-0 =  |
155 | ramp-capacity-1 =  | 133 | ramp-capacity-1 =  |
156 | ramp-capacity-2 =  | 134 | ramp-capacity-2 =  |
157 | ramp-capacity-3 = ï‰ | 135 | ramp-capacity-3 =  |
158 | ramp-capacity-4 =  | ||
159 | 136 | ||
160 | ; Only applies if <animation-charging> is used | 137 | ; Only applies if <animation-charging> is used |
161 | animation-charging-0 =  | 138 | animation-charging-0 =  |
162 | animation-charging-1 =  | 139 | animation-charging-1 =  |
163 | animation-charging-2 =  | 140 | animation-charging-2 =  |
164 | animation-charging-3 = ï‰ | 141 | animation-charging-3 =  |
165 | animation-charging-4 =  | 142 | |
166 | ; Framerate in milliseconds | 143 | ; Framerate in milliseconds |
167 | animation-charging-framerate = 750 | 144 | animation-charging-framerate = 750 |
168 | 145 | ||
@@ -204,35 +181,54 @@ label-indicator-background = ${colors.alert} | |||
204 | 181 | ||
205 | [module/i3] | 182 | [module/i3] |
206 | type = internal/i3 | 183 | type = internal/i3 |
207 | format = <label-state> <label-mode> | 184 | format = <label-state> |
208 | index-sort = true | 185 | index-sort = true |
209 | wrapping-scroll = false | 186 | wrapping-scroll = false |
210 | strip-wsnumbers = true | 187 | strip-wsnumbers = true |
211 | 188 | ||
189 | ws-icon-default =  | ||
190 | ws-icon-0 = 0;î…Ÿ | ||
191 | ws-icon-1 = 1;î… | ||
192 | ws-icon-2 = 2;î…¡ | ||
193 | ws-icon-3 = 3;î…¢ | ||
194 | ws-icon-4 = 4;î…£ | ||
195 | ws-icon-5 = 5;î…¤ | ||
196 | ws-icon-6 = 6;î…¥ | ||
197 | ws-icon-7 = 7;î…¦ | ||
198 | ws-icon-8 = 8;î…§ | ||
199 | ws-icon-9 = 9;î…¨ | ||
200 | ws-icon-10 = zotero; | ||
201 | ws-icon-11 = desktop; | ||
202 | ws-icon-12 = browser;î† | ||
203 | |||
212 | label-mode-background = ${colors.background_modules} | 204 | label-mode-background = ${colors.background_modules} |
213 | label-mode-foreground = ${colors.foreground_modules} | 205 | label-mode-foreground = ${colors.foreground_modules} |
214 | label-mode-padding = 2 | 206 | label-mode-padding = 2 |
215 | 207 | ||
216 | label-focused = %name% | 208 | label-focused = %icon% |
217 | label-focused-background = ${colors.red} | 209 | label-focused-background = ${colors.red} |
218 | label-focused-foreground = ${colors.background_modules} | 210 | label-focused-foreground = ${colors.background_modules} |
219 | label-focused-padding = 1 | 211 | label-focused-padding = 1 |
220 | 212 | ||
221 | label-unfocused = %name% | 213 | label-unfocused = %icon% |
222 | label-unfocused-background = ${colors.background_modules} | 214 | label-unfocused-background = ${colors.background_modules} |
223 | label-unfocused-foreground = ${colors.foreground_modules} | 215 | label-unfocused-foreground = ${colors.foreground_modules} |
224 | label-unfocused-padding = 1 | 216 | label-unfocused-padding = 1 |
225 | 217 | ||
226 | label-visible = %name% | 218 | label-visible = %icon% |
227 | label-visible-background = ${colors.background_modules} | 219 | label-visible-background = ${colors.background_modules} |
228 | label-visible-foreground = ${colors.foreground_modules} | 220 | label-visible-foreground = ${colors.foreground_modules} |
229 | label-visible-padding = 1 | 221 | label-visible-padding = 1 |
230 | 222 | ||
231 | label-urgent = %index% | 223 | label-urgent = %icon% |
232 | label-urgent-background = ${colors.alert} | 224 | label-urgent-background = ${colors.alert} |
233 | label-urgent-foreground = ${colors.background} | 225 | label-urgent-foreground = ${colors.background} |
234 | label-urgent-padding = 1 | 226 | label-urgent-padding = 1 |
235 | 227 | ||
228 | label-separator = " " | ||
229 | label-separator-foreground = ${colors.foreground} | ||
230 | label-separator-background = #504945 | ||
231 | |||
236 | [module/download] | 232 | [module/download] |
237 | type = internal/network | 233 | type = internal/network |
238 | interface = wlp2s0 | 234 | interface = wlp2s0 |