9
9
10
10
# Configuration here
11
11
mod = "mod4"
12
- widget_show = True
13
12
myTerm = "alacritty"
14
13
myFileExplorer = "thunar"
15
14
@@ -157,53 +156,43 @@ def get_monitor_length():
157
156
return len (output )
158
157
159
158
widget_defaults = dict (
160
- font = 'sans ' ,
159
+ font = 'Arimo Nerd Font ' ,
161
160
fontsize = 12 ,
162
161
padding = 3 ,
163
162
)
164
163
extension_defaults = widget_defaults .copy ()
165
- bar_config = { "background" : "#3b4252" }
166
- widget_config = {
167
- "background" : "#2E3440" ,
168
- "padding" : 5
169
- }
170
- screen_bottom = bar .Bar (
164
+ bar_config = { "background" : "#434C5E" }
165
+ exbar_config = { "background" : "#2E3440" }
166
+ screen_main = bar .Bar (
171
167
[
172
- widget .CurrentLayout (** widget_config ),
173
- widget .GroupBox (),
174
- widget .Prompt (** widget_config ),
175
- widget .WindowName (** widget_config ),
168
+ widget .CurrentLayout (** exbar_config ),
169
+ widget .GroupBox (foreground = "#434C5E" ),
170
+ widget .Prompt (** exbar_config ),
171
+ widget .WindowName (** exbar_config ),
176
172
widget .Chord (
177
173
chords_colors = {
178
174
'launch' : ("#ff0000" , "#ffffff" ),
179
175
},
180
176
name_transform = lambda name : name .upper (),
181
177
),
182
- #widget.Volume(),
183
178
widget .Systray (),
184
- widget .Clock (format = '%Y-%m-%d %a %I:%M %p' , ** widget_config ),
185
- #widget.QuickExit(),
179
+ widget .Clock (format = '%Y-%m-%d %a, %I:%M %p' , ** exbar_config )
186
180
],
187
181
30 ,
188
182
** bar_config
189
183
)
190
- screens = [
191
- Screen (bottom = screen_bottom ),
192
- #Screen(bottom=bar.Bar(
193
- # widget.GroupBox(),
194
- # widget.WindowName(),
195
- # widget.Clock()
196
- #))
197
- ]
184
+ screens = [ Screen (top = screen_main ) ]
185
+
186
+ # Autodetect multimonitor
198
187
if get_monitor_length () > 1 :
199
188
for i in range (1 , get_monitor_length ()):
200
189
screens .append (
201
- Screen (bottom = bar .Bar (
190
+ Screen (top = bar .Bar (
202
191
[
203
- widget .CurrentLayout (** widget_config ),
204
- widget .GroupBox (),
205
- widget .WindowName (** widget_config ),
206
- widget .Clock ()
192
+ widget .CurrentLayout (** exbar_config ),
193
+ widget .GroupBox (foreground = "#434C5E" ),
194
+ widget .WindowName (** exbar_config ),
195
+ widget .Clock (format = '%a, %I:%M %p' )
207
196
],
208
197
30 ,
209
198
** bar_config
@@ -221,10 +210,6 @@ def autostart():
221
210
home = os .path .expanduser ("~/.config/qtile/autostart.sh" )
222
211
subprocess .call ([home ])
223
212
224
- @hook .subscribe .startup
225
- def startup ():
226
- screen_bottom .show (widget_show )
227
-
228
213
"""
229
214
Additional Configuration
230
215
"""
0 commit comments