@@ -105,12 +105,12 @@ def send_to_empty_group(qtile, switch_group: bool = False):
105
105
@hook .subscribe .client_focus
106
106
def bring_floating_to_front (window ):
107
107
if window .floating :
108
- window .cmd_bring_to_front ()
108
+ window .bring_to_front ()
109
109
110
110
111
111
@hook .subscribe .startup_once
112
112
def autostart ():
113
- home = os .path .expanduser ('~/.config/autostart.sh' )
113
+ home = os .path .expanduser ('~/.config/qtile/ autostart.sh' )
114
114
subprocess .Popen ([home ])
115
115
116
116
@@ -165,20 +165,20 @@ def autostart():
165
165
# Application keybindings
166
166
Key ([mod , "shift" ], "Return" , lazy .spawn ("firefox" ),
167
167
desc = "Launch browser" ),
168
- Key ([mod ], "Return" , lazy .spawn ("alacritty " ),
168
+ Key ([mod ], "Return" , lazy .spawn ("kitty " ),
169
169
desc = "Launch terminal" ),
170
170
Key ([mod ], "space" ,
171
171
lazy .spawn ("rofi -modi drun,run -show drun -show-icons" ),
172
172
desc = "Open application with rofi" ),
173
173
Key ([mod , "control" ], "space" , lazy .spawn ("rofi -show window -show-icons" ),
174
174
desc = "Switch window with rofi" ),
175
- Key ([mod ], "n " , lazy .spawn ("alacritty --class ranger -e ranger" ),
175
+ Key ([mod ], "e " , lazy .spawn ("kitty --class ranger -e ranger" ),
176
176
desc = "Open ranger" ),
177
- Key ([mod , "shift" ], "n " , lazy .spawn ("thunar" ),
177
+ Key ([mod , "shift" ], "e " , lazy .spawn ("thunar" ),
178
178
desc = "Open thunar" ),
179
- Key ([mod ], "m" , lazy .spawn ("alacritty --class pulsemixer -e pulsemixer" ),
179
+ Key ([mod ], "m" , lazy .spawn ("kitty --class pulsemixer -e pulsemixer" ),
180
180
desc = "Open pulsemixer" ),
181
- Key ([mod , "shift" ], "slash" , lazy .spawn ("alacritty --class btop -e btop" ),
181
+ Key ([mod , "shift" ], "slash" , lazy .spawn ("kitty --class btop -e btop" ),
182
182
desc = "Open btop" ),
183
183
184
184
# Screenshot keybindings
@@ -216,11 +216,11 @@ def autostart():
216
216
desc = "Decrement screen brightness" ),
217
217
218
218
# Dunst keybindings
219
- Key (['control' ], "space " , lazy .spawn ("dunstctl close-all" ),
219
+ Key ([mod , 'control' ], "n " , lazy .spawn ("dunstctl close-all" ),
220
220
desc = "Close all notifications" ),
221
- Key (['control' ], "grave " , lazy .spawn ("dunstctl history-pop" ),
221
+ Key ([mod ], "n " , lazy .spawn ("dunstctl history-pop" ),
222
222
desc = "Show last notification" ),
223
- Key (['control' , 'shift' ], "grave " , lazy .spawn ("dunstctl context" ),
223
+ Key ([mod , 'shift' ], "n " , lazy .spawn ("dunstctl context" ),
224
224
desc = "Open notification context" ),
225
225
226
226
Key ([mod , "shift" ], "q" , lazy .window .kill (),
@@ -257,7 +257,7 @@ def autostart():
257
257
]
258
258
259
259
widget_defaults = {
260
- "font" : "Iosevka Term Nerd Font " ,
260
+ "font" : "Iosevka Term" ,
261
261
"fontsize" : 16 ,
262
262
"padding" : 10 ,
263
263
}
@@ -279,7 +279,6 @@ def autostart():
279
279
other_current_screen_border = colors ["gray" ],
280
280
padding = 8 ),
281
281
widget .Spacer (),
282
- widget .Systray (padding = 0 ),
283
282
widget .Net (foreground = colors ["fg" ],
284
283
format = '{down} ↓↑ {up}' ),
285
284
widget .CPU (foreground = colors ["fg" ],
@@ -291,32 +290,16 @@ def autostart():
291
290
fmt = ' {}' ,
292
291
step = 5 ,
293
292
limit_max_volume = True ),
294
- widget .Backlight (backlight_name = 'intel_backlight' ,
295
- foreground = colors ["fg" ],
296
- fmt = ' {}' ,
297
- step = 5 ),
298
- widget .UPowerWidget (foreground = colors ["fg" ],
299
- border_charge_colour = colors ["green_fg" ],
300
- border_colour = colors ["fg" ],
301
- border_critical_colour = colors ["red_fg" ],
302
- fill_charge = colors ["fg" ],
303
- fill_critical = colors ["red_fg" ],
304
- fill_low = colors ["orange_fg" ],
305
- fill_normal = colors ["fg" ],
306
- percentage_low = 0.3 ,
307
- margin = 4 ),
308
- widget .Battery (foreground = colors ["fg" ],
309
- low_foreground = colors ["red_fg" ],
310
- format = '{percent:2.0%}' ,
311
- padding = 4 ,
312
- unknown_char = "" ,
313
- notify_below = 10 ,
314
- notification_timeout = 0 ),
293
+ # widget.Backlight(backlight_name='intel_backlight',
294
+ # foreground=colors["fg"],
295
+ # fmt=' {}',
296
+ # step=5) ,
297
+ widget .Systray (),
315
298
],
316
299
26 ,
317
300
background = colors ["bg" ],
318
301
),
319
- wallpaper = os .path .expanduser ('~/.config /wallpaper.png' )
302
+ wallpaper = os .path .expanduser ('~/Pictures /wallpaper.png' )
320
303
),
321
304
Screen (
322
305
top = bar .Bar (
@@ -344,32 +327,15 @@ def autostart():
344
327
fmt = ' {}' ,
345
328
step = 5 ,
346
329
limit_max_volume = True ),
347
- widget .Backlight (backlight_name = 'intel_backlight' ,
348
- foreground = colors ["fg" ],
349
- fmt = ' {}' ,
350
- step = 5 ),
351
- widget .UPowerWidget (foreground = colors ["fg" ],
352
- border_charge_colour = colors ["green_fg" ],
353
- border_colour = colors ["fg" ],
354
- border_critical_colour = colors ["red_fg" ],
355
- fill_charge = colors ["fg" ],
356
- fill_critical = colors ["red_fg" ],
357
- fill_low = colors ["orange_fg" ],
358
- fill_normal = colors ["fg" ],
359
- percentage_low = 0.3 ,
360
- margin = 4 ),
361
- widget .Battery (foreground = colors ["fg" ],
362
- low_foreground = colors ["red_fg" ],
363
- format = '{percent:2.0%}' ,
364
- padding = 4 ,
365
- unknown_char = "" ,
366
- notify_below = 10 ,
367
- notification_timeout = 0 ),
330
+ # widget.Backlight(backlight_name='intel_backlight',
331
+ # foreground=colors["fg"],
332
+ # fmt=' {}',
333
+ # step=5) ,
368
334
],
369
335
26 ,
370
336
background = colors ["bg" ],
371
337
),
372
- wallpaper = os .path .expanduser ('~/.config /wallpaper.png' )),
338
+ wallpaper = os .path .expanduser ('~/Pictures /wallpaper.png' )),
373
339
]
374
340
375
341
# Drag floating layouts.
0 commit comments