edit screens and remove pycache

This commit is contained in:
2026-02-24 17:12:22 +01:00
parent cf9b9c55dc
commit aa9831601b
41 changed files with 20 additions and 14 deletions

View File

@@ -9,7 +9,6 @@
# -------------------------------------------------------------------- # --------------------------------------------------------------------
from libqtile.config import Screen from libqtile.config import Screen
from libqtile import bar from libqtile import bar
from libqtile.widget import mpd2widget
from libqtile.lazy import lazy from libqtile.lazy import lazy
from qtile_extras import widget from qtile_extras import widget
from qtile_extras.widget.groupbox2 import GroupBoxRule from qtile_extras.widget.groupbox2 import GroupBoxRule
@@ -64,6 +63,13 @@ extension_defaults = widget_defaults.copy()
# -------------------------------------------------------- # --------------------------------------------------------
# Screens # Screens
# -------------------------------------------------------- # --------------------------------------------------------
# All across defaults:
BACKGROUND = gruvbox_dark["bg0_hard"]
OPACITY = 0.7
SIZE = 32
MARGIN = [3, 3, 0, 3]
bar.Bar bar.Bar
screens = [ screens = [
Screen( Screen(
@@ -116,10 +122,10 @@ screens = [
popup_show_args={"relative_to": 8, "y": -70}, popup_show_args={"relative_to": 8, "y": -70},
), ),
], ],
background=gruvbox_dark["bg0_hard"], background=BACKGROUND,
opacity=0.75, opacity=OPACITY,
size=32, size=SIZE,
margin=[3, 3, 0, 3], margin=MARGIN,
), ),
), ),
Screen( Screen(
@@ -168,10 +174,10 @@ screens = [
mouse_callbacks={"Button1": lazy.function(power_menu)}, mouse_callbacks={"Button1": lazy.function(power_menu)},
), ),
], ],
background=gruvbox_dark["bg0_hard"], background=BACKGROUND,
opacity=0.75, opacity=OPACITY,
size=32, size=SIZE,
margin=[3, 3, 0, 3], margin=MARGIN,
), ),
), ),
Screen( Screen(
@@ -223,10 +229,10 @@ screens = [
mouse_callbacks={"Button1": lazy.function(power_menu)}, mouse_callbacks={"Button1": lazy.function(power_menu)},
), ),
], ],
background=gruvbox_dark["bg0_hard"], background=BACKGROUND,
opacity=0.75, opacity=OPACITY,
size=32, size=SIZE,
margin=[3, 3, 0, 3], margin=MARGIN,
), ),
), ),
] ]
@@ -236,7 +242,7 @@ notifier = Notifier(
width=350, width=350,
height=80, height=80,
format="<b>{summary}</b>\n{app_name}\n{body}", format="<b>{summary}</b>\n{app_name}\n{body}",
# file_name='/home/cerberus/.config/qtile/normal.png', # Not working # file_name="/home/cerberus/.config/qtile/res/images/normal.png", # Not working
foreground=gruvbox_dark["fg1"], foreground=gruvbox_dark["fg1"],
background=( background=(
gruvbox_dark["bg0_hard"], gruvbox_dark["bg0_hard"],