From e7e42d410f5b06e5385b7ccb3e9c39892a465d4f Mon Sep 17 00:00:00 2001 From: Michael Kantor Date: Fri, 11 Sep 2026 20:24:52 -0400 Subject: Added type delarations. --- config.py | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'config.py') diff --git a/config.py b/config.py index 281a722..4a2fa0a 100644 --- a/config.py +++ b/config.py @@ -47,8 +47,8 @@ mpc = f"mpc -h {home}/.mpd/socket -p 6600" pythonlogo = '/tmp/python.png' terms = ['st', 'kitty', 'cool-retro-term', 'Alacritty'] -terminal_windows = [] -swallowed_wins = [] +terminal_windows: list[dict] = [] +swallowed_wins: list[dict] = [] pinned_wins = [] @@ -399,6 +399,8 @@ keys = [ Key([mod, "control"], "f", lazy.spawn(privatebrowser)), + Key([mod, "mod1"], "f", lazy.spawn(f"{browser} -P i2p")), + Key([mod, "control"], "c", lazy.spawn(f"{home}/.config/qtile/cusmodules/colors.py")), Key([mod, "control"], "l", lazy.spawn(f'xautolock -locknow')), @@ -454,7 +456,19 @@ group_names = [("I", {'layout': 'monadtall'}), ("VIII", {'layout': 'monadtall'}), ("IX", {'layout': 'monadtall'})] -groups = [Group(name, **kwargs) for name, kwargs in group_names] +#groups = [Group(name, **kwargs) for name, kwargs in group_names] + +groups = [ + Group("I", layout="monadtall"), + Group("II", layout="monadtall"), + Group("III", layout="monadtall"), + Group("IV", layout="monadtall"), + Group("V", layout="monadtall"), + Group("VI", layout="monadtall"), + Group("VII", layout="monadtall"), + Group("VIII", layout="monadtall"), + Group("IX", layout="monadtall"), +] groups.append(ScratchPad('swallow')) @@ -549,6 +563,7 @@ screens = [ widget.TextBox( text=u'\ue0ba', + font = plf, foreground = color.get('color0'), padding = -0.5, fontsize = 26 @@ -562,6 +577,7 @@ screens = [ widget.TextBox( text=u'\ue0bc', + font = plf, foreground = color.get('color0'), padding = -0.5, fontsize = 26 -- cgit v1.2.3