-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
70 lines (62 loc) · 1.69 KB
/
config.py
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
from libqtile import hook, layout
from libqtile.config import Match
from colors import kanagawa
from keys import keys, mouse
from layouts import layouts
from screens import screens
from scripts import (
configure_monitors,
connect_bluetooth,
connect_wifi,
generate_wallpapers,
start_compositor,
start_systray_menu,
start_virtual_webcam,
)
keys = keys
mouse = mouse
layouts = layouts
widget_defaults = dict(
font="Cascadia Code",
fontsize=16,
padding=2,
background=kanagawa.base00,
foreground=kanagawa.base05,
)
extension_defaults = widget_defaults.copy()
screens = screens
dgroups_key_binder = None
dgroups_app_rules = [] # type: list
follow_mouse_focus = False
bring_front_click = False
cursor_warp = False
floating_layout = layout.Floating(
border_focus=kanagawa.base0C,
border_normal=kanagawa.base0D,
float_rules=[
# Run the utility of `xprop` to see the wm class and name of an X client.
*layout.Floating.default_float_rules,
Match(wm_class="confirmreset"), # gitk
Match(wm_class="makebranch"), # gitk
Match(wm_class="maketag"), # gitk
Match(wm_class="ssh-askpass"), # ssh-askpass
Match(title="branchdialog"), # gitk
Match(title="pinentry"), # GPG key password entry
Match(wm_class="flameshot"),
],
)
auto_fullscreen = True
focus_on_window_activation = "smart"
reconfigure_screens = True
auto_minimize = True
wl_input_rules = None
wmname = "qtile"
@hook.subscribe.startup
def autostart(*args, **kwargs):
configure_monitors()
start_compositor()
generate_wallpapers(screens)
start_virtual_webcam()
start_systray_menu()
connect_bluetooth()
connect_wifi()