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'
|
Message='Fully Updated'
|
||||||
|
@ -3,7 +3,6 @@ from libqtile.config import Group, Key, Match, ScratchPad, DropDown
|
|||||||
from libqtile.lazy import lazy
|
from libqtile.lazy import lazy
|
||||||
|
|
||||||
from core.keys import keys, mod
|
from core.keys import keys, mod
|
||||||
from utils.match import wm_class
|
|
||||||
|
|
||||||
groups: list[Group] = []
|
groups: list[Group] = []
|
||||||
|
|
||||||
@ -76,8 +75,6 @@ for key, label, layout, matches in [
|
|||||||
matches=matches,
|
matches=matches,
|
||||||
label=label,
|
label=label,
|
||||||
layout=layout,
|
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()),
|
([mod, "shift"], "k", lazy.layout.shuffle_up()),
|
||||||
|
|
||||||
# increase/decrease window size
|
# increase/decrease window size
|
||||||
([mod], "i", lazy.layout.grow()),
|
([mod], "d", lazy.layout.grow()),
|
||||||
([mod], "m", lazy.layout.shrink()),
|
([mod], "f", lazy.layout.shrink()),
|
||||||
|
|
||||||
# window management
|
# window management
|
||||||
([mod, "shift"], "space", lazy.layout.flip()),
|
([mod, "shift"], "space", lazy.layout.flip()),
|
||||||
([mod], "o", lazy.layout.maximize()),
|
([mod], "o", lazy.layout.maximize()),
|
||||||
([mod], "n", lazy.layout.normalize()),
|
([mod], "n", lazy.layout.normalize()),
|
||||||
([mod], "q", lazy.window.kill()),
|
([mod], "q", lazy.window.kill()),
|
||||||
([mod, "shift"], "space", lazy.window.toggle_fullscreen()),
|
([mod, "control"], "space", lazy.window.toggle_fullscreen()),
|
||||||
|
|
||||||
# floating window management
|
# floating window management
|
||||||
([mod], "space", lazy.window.toggle_floating()),
|
([mod], "space", lazy.window.toggle_floating()),
|
||||||
([mod], "c", lazy.window.center()),
|
([mod, "shift"], "c", lazy.window.center()),
|
||||||
([mod], "f", lazy.function(float_to_front)),
|
([mod], "x", lazy.function(float_to_front)),
|
||||||
|
|
||||||
# toggle between layouts
|
# toggle between layouts
|
||||||
([mod], "Tab", lazy.next_layout()),
|
([mod], "Tab", lazy.next_layout()),
|
||||||
@ -59,7 +59,6 @@ keys = [Key(*key) for key in [ # type: ignore
|
|||||||
([mod, "shift"], "Return", lazy.spawn(cfg.files)),
|
([mod, "shift"], "Return", lazy.spawn(cfg.files)),
|
||||||
|
|
||||||
# app launcher
|
# app launcher
|
||||||
([mod], "r", lazy.spawn("rofi -show window")),
|
|
||||||
([mod], "m", lazy.spawn(cfg.menu)),
|
([mod], "m", lazy.spawn(cfg.menu)),
|
||||||
([mod], "p", lazy.spawn(cfg.passwords)),
|
([mod], "p", lazy.spawn(cfg.passwords)),
|
||||||
([mod], "y", lazy.spawn(cfg.youtube)),
|
([mod], "y", lazy.spawn(cfg.youtube)),
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
from libqtile.widget import base, groupbox
|
from libqtile.widget import base, groupbox
|
||||||
|
|
||||||
from extras.drawer import framed
|
from extras.drawer import framed
|
||||||
|
from utils.palette import palette
|
||||||
|
|
||||||
|
|
||||||
class GroupBox(groupbox.GroupBox):
|
class GroupBox(groupbox.GroupBox):
|
||||||
@ -99,9 +100,12 @@ class GroupBox(groupbox.GroupBox):
|
|||||||
|
|
||||||
def color(index: int) -> str:
|
def color(index: int) -> str:
|
||||||
try:
|
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:
|
except IndexError:
|
||||||
return "FFFFFF"
|
return palette.currentColor
|
||||||
|
|
||||||
offset = self.margin_x
|
offset = self.margin_x
|
||||||
for i, g in enumerate(self.groups):
|
for i, g in enumerate(self.groups):
|
||||||
|
@ -31,11 +31,11 @@ class MinimalMistakes:
|
|||||||
"ffff59", # 3
|
"ffff59", # 3
|
||||||
"9059ff", # 4
|
"9059ff", # 4
|
||||||
"ff59f9", # 5
|
"ff59f9", # 5
|
||||||
"59fff9", # 6
|
"ff5959", # 6
|
||||||
"e5e9f0", # 7
|
"59ff59", # 7
|
||||||
"43515e", # 8
|
"ffff59", # 8
|
||||||
"ffa6a6", # 9
|
"9059ff", # 9
|
||||||
"a6ffa6", # 10
|
"ff59f9", # 10
|
||||||
]
|
]
|
||||||
|
|
||||||
foregroundColor = colorScheme[16]
|
foregroundColor = colorScheme[16]
|
||||||
|
Loading…
Reference in New Issue
Block a user