mirror of
https://github.com/The-Repo-Club/DotFiles.git
synced 2024-11-25 00:38:20 -05:00
Fix
This commit is contained in:
parent
0631d7e448
commit
d579388c4a
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
LastUsed=1693338568
|
||||
LastUsed=1693607323
|
||||
Message='Fully Updated'
|
||||
|
@ -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,
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -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)),
|
||||
|
@ -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):
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user