mirror of
https://github.com/The-Repo-Club/DotFiles.git
synced 2024-11-24 16:28:41 -05:00
Fixed qTile
Signed-off-by: The-Repo-Club <wayne6324@gmail.com>
This commit is contained in:
parent
282801c56c
commit
a048546256
Binary file not shown.
@ -1,2 +1,2 @@
|
|||||||
LastUsed=1694855493
|
LastUsed=1694876434
|
||||||
Message='Fully Updated'
|
Message='Fully Updated'
|
||||||
|
@ -66,7 +66,7 @@ def volume(bg, fg) -> list:
|
|||||||
**base(bg, fg),
|
**base(bg, fg),
|
||||||
**icon_font(),
|
**icon_font(),
|
||||||
**rectangle("left"),
|
**rectangle("left"),
|
||||||
text="",
|
text="",
|
||||||
x=4,
|
x=4,
|
||||||
),
|
),
|
||||||
widget.Volume(
|
widget.Volume(
|
||||||
@ -83,6 +83,26 @@ def volume(bg, fg) -> list:
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def backlight(bg, fg) -> list:
|
||||||
|
return [
|
||||||
|
modify(
|
||||||
|
TextBox,
|
||||||
|
**base(bg, fg),
|
||||||
|
**icon_font(),
|
||||||
|
**powerline("arrow_left"),
|
||||||
|
text="",
|
||||||
|
x=4,
|
||||||
|
),
|
||||||
|
widget.Backlight(
|
||||||
|
**base(bg, fg),
|
||||||
|
**powerline("arrow_left"),
|
||||||
|
step=5,
|
||||||
|
backlight_name="intel_backlight",
|
||||||
|
change_command="brightnessctl set {}%",
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
def updates(bg, fg) -> list:
|
def updates(bg, fg) -> list:
|
||||||
return [
|
return [
|
||||||
TextBox(
|
TextBox(
|
||||||
@ -220,23 +240,24 @@ def tray(bg, fg) -> list:
|
|||||||
def widgets():
|
def widgets():
|
||||||
return [
|
return [
|
||||||
widget.Spacer(length=2),
|
widget.Spacer(length=2),
|
||||||
menu(palette.colorScheme[2], palette.currentColor),
|
menu(palette.colorScheme[10], palette.currentColor),
|
||||||
sep(palette.currentColor, offset=-8),
|
sep(palette.currentColor, offset=-8),
|
||||||
groups(None),
|
groups(None),
|
||||||
sep(palette.currentColor, offset=4, padding=4),
|
sep(palette.currentColor, offset=4, padding=4),
|
||||||
*volume(palette.colorScheme[3], palette.currentColor),
|
*volume(palette.colorScheme[11], palette.currentColor),
|
||||||
*updates(palette.colorScheme[12], palette.currentColor),
|
*backlight(palette.colorScheme[12], palette.currentColor),
|
||||||
|
*updates(palette.colorScheme[13], palette.currentColor),
|
||||||
sep(palette.currentColor, offset=4, padding=4),
|
sep(palette.currentColor, offset=4, padding=4),
|
||||||
power(palette.colorScheme[1], palette.currentColor),
|
power(palette.colorScheme[9], palette.currentColor),
|
||||||
widget.Spacer(),
|
widget.Spacer(),
|
||||||
window_name(None, palette.foregroundColor),
|
window_name(None, palette.foregroundColor),
|
||||||
widget.Spacer(),
|
widget.Spacer(),
|
||||||
*cpu(palette.colorScheme[5], palette.currentColor),
|
*cpu(palette.colorScheme[11], palette.currentColor),
|
||||||
*ram(palette.colorScheme[6], palette.currentColor),
|
*ram(palette.colorScheme[12], palette.currentColor),
|
||||||
*disk(palette.colorScheme[9], palette.currentColor),
|
*disk(palette.colorScheme[13], palette.currentColor),
|
||||||
sep(palette.currentColor),
|
sep(palette.currentColor),
|
||||||
tray(None, palette.currentColor),
|
tray(None, palette.currentColor),
|
||||||
sep(palette.currentColor),
|
sep(palette.currentColor),
|
||||||
*clock(palette.colorScheme[10], palette.currentColor),
|
*clock(palette.colorScheme[14], palette.currentColor),
|
||||||
widget.Spacer(length=2),
|
widget.Spacer(length=2),
|
||||||
]
|
]
|
||||||
|
@ -70,8 +70,8 @@ keys = [Key(*key) for key in [ # type: ignore
|
|||||||
([mod], "c", lazy.spawn(cfg.editor)),
|
([mod], "c", lazy.spawn(cfg.editor)),
|
||||||
|
|
||||||
# backlight
|
# backlight
|
||||||
([mod], "XF86AudioLowerVolume", lazy.spawn("brightnessctl set 5%-")),
|
([], "XF86MonBrightnessDown", lazy.spawn("brightnessctl set 5%-")),
|
||||||
([mod], "XF86AudioRaiseVolume", lazy.spawn("brightnessctl set +5%")),
|
([], "XF86MonBrightnessUp", lazy.spawn("brightnessctl set 5%+")),
|
||||||
|
|
||||||
# volume
|
# volume
|
||||||
([], "XF86AudioMute", lazy.spawn("pamixer --toggle-mute")),
|
([], "XF86AudioMute", lazy.spawn("pamixer --toggle-mute")),
|
||||||
|
Loading…
Reference in New Issue
Block a user