edit screens and remove pycache
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
# --------------------------------------------------------------------
|
||||
from libqtile.config import Screen
|
||||
from libqtile import bar
|
||||
from libqtile.widget import mpd2widget
|
||||
from libqtile.lazy import lazy
|
||||
from qtile_extras import widget
|
||||
from qtile_extras.widget.groupbox2 import GroupBoxRule
|
||||
@@ -64,6 +63,13 @@ extension_defaults = widget_defaults.copy()
|
||||
# --------------------------------------------------------
|
||||
# Screens
|
||||
# --------------------------------------------------------
|
||||
|
||||
# All across defaults:
|
||||
|
||||
BACKGROUND = gruvbox_dark["bg0_hard"]
|
||||
OPACITY = 0.7
|
||||
SIZE = 32
|
||||
MARGIN = [3, 3, 0, 3]
|
||||
bar.Bar
|
||||
screens = [
|
||||
Screen(
|
||||
@@ -116,10 +122,10 @@ screens = [
|
||||
popup_show_args={"relative_to": 8, "y": -70},
|
||||
),
|
||||
],
|
||||
background=gruvbox_dark["bg0_hard"],
|
||||
opacity=0.75,
|
||||
size=32,
|
||||
margin=[3, 3, 0, 3],
|
||||
background=BACKGROUND,
|
||||
opacity=OPACITY,
|
||||
size=SIZE,
|
||||
margin=MARGIN,
|
||||
),
|
||||
),
|
||||
Screen(
|
||||
@@ -168,10 +174,10 @@ screens = [
|
||||
mouse_callbacks={"Button1": lazy.function(power_menu)},
|
||||
),
|
||||
],
|
||||
background=gruvbox_dark["bg0_hard"],
|
||||
opacity=0.75,
|
||||
size=32,
|
||||
margin=[3, 3, 0, 3],
|
||||
background=BACKGROUND,
|
||||
opacity=OPACITY,
|
||||
size=SIZE,
|
||||
margin=MARGIN,
|
||||
),
|
||||
),
|
||||
Screen(
|
||||
@@ -223,10 +229,10 @@ screens = [
|
||||
mouse_callbacks={"Button1": lazy.function(power_menu)},
|
||||
),
|
||||
],
|
||||
background=gruvbox_dark["bg0_hard"],
|
||||
opacity=0.75,
|
||||
size=32,
|
||||
margin=[3, 3, 0, 3],
|
||||
background=BACKGROUND,
|
||||
opacity=OPACITY,
|
||||
size=SIZE,
|
||||
margin=MARGIN,
|
||||
),
|
||||
),
|
||||
]
|
||||
@@ -236,7 +242,7 @@ notifier = Notifier(
|
||||
width=350,
|
||||
height=80,
|
||||
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"],
|
||||
background=(
|
||||
gruvbox_dark["bg0_hard"],
|
||||
|
||||
Reference in New Issue
Block a user