This commit is contained in:
The-Repo-Club 2023-09-01 23:14:28 +01:00
parent 0631d7e448
commit d579388c4a
No known key found for this signature in database
GPG Key ID: E30EC2FBFB05C44F
6 changed files with 17 additions and 17 deletions

Binary file not shown.

View File

@ -1,2 +1,2 @@
LastUsed=1693338568
LastUsed=1693607323
Message='Fully Updated'

View File

@ -3,7 +3,6 @@ from libqtile.config import Group, Key, Match, ScratchPad, DropDown
from libqtile.lazy import lazy
from core.keys import keys, mod
from utils.match import wm_class
groups: list[Group] = []
@ -76,8 +75,6 @@ for key, label, layout, matches in [
matches=matches,
label=label,
layout=layout,
persist=True,
exclusive=False,
)
)

View File

@ -31,20 +31,20 @@ keys = [Key(*key) for key in [ # type: ignore
([mod, "shift"], "k", lazy.layout.shuffle_up()),
# increase/decrease window size
([mod], "i", lazy.layout.grow()),
([mod], "m", lazy.layout.shrink()),
([mod], "d", lazy.layout.grow()),
([mod], "f", lazy.layout.shrink()),
# window management
([mod, "shift"], "space", lazy.layout.flip()),
([mod], "o", lazy.layout.maximize()),
([mod], "n", lazy.layout.normalize()),
([mod], "q", lazy.window.kill()),
([mod, "shift"], "space", lazy.window.toggle_fullscreen()),
([mod, "control"], "space", lazy.window.toggle_fullscreen()),
# floating window management
([mod], "space", lazy.window.toggle_floating()),
([mod], "c", lazy.window.center()),
([mod], "f", lazy.function(float_to_front)),
([mod, "shift"], "c", lazy.window.center()),
([mod], "x", lazy.function(float_to_front)),
# toggle between layouts
([mod], "Tab", lazy.next_layout()),
@ -59,7 +59,6 @@ keys = [Key(*key) for key in [ # type: ignore
([mod, "shift"], "Return", lazy.spawn(cfg.files)),
# app launcher
([mod], "r", lazy.spawn("rofi -show window")),
([mod], "m", lazy.spawn(cfg.menu)),
([mod], "p", lazy.spawn(cfg.passwords)),
([mod], "y", lazy.spawn(cfg.youtube)),

View File

@ -1,6 +1,7 @@
from libqtile.widget import base, groupbox
from extras.drawer import framed
from utils.palette import palette
class GroupBox(groupbox.GroupBox):
@ -99,9 +100,12 @@ class GroupBox(groupbox.GroupBox):
def color(index: int) -> str:
try:
return self.colors[index]
num_colors = len(self.colors)
effective_color_index = index % num_colors
if effective_color_index < len(self.colors):
return self.colors[effective_color_index]
except IndexError:
return "FFFFFF"
return palette.currentColor
offset = self.margin_x
for i, g in enumerate(self.groups):

View File

@ -31,11 +31,11 @@ class MinimalMistakes:
"ffff59", # 3
"9059ff", # 4
"ff59f9", # 5
"59fff9", # 6
"e5e9f0", # 7
"43515e", # 8
"ffa6a6", # 9
"a6ffa6", # 10
"ff5959", # 6
"59ff59", # 7
"ffff59", # 8
"9059ff", # 9
"ff59f9", # 10
]
foregroundColor = colorScheme[16]