margin found on bar

This commit is contained in:
godot 2023-11-25 17:25:42 +01:00
parent 5ebacc21b7
commit c03536718c

12
bar.py
View File

@ -21,19 +21,27 @@ screens = [
top=bar.Bar( top=bar.Bar(
[ [
# widget.CurrentLayout(), # widget.CurrentLayout(),
widget.GroupBox(),
widget.GroupBox(
highlight_metod='block',
visible_groups=['1', '2', '3', '4', '5']
),
widget.Prompt(), widget.Prompt(),
widget.WindowName(), widget.WindowName(),
widget.Chord( widget.Chord(
chords_colors={ chords_colors={
"launch": ("#ff0000", "#ffffff"), "launch": ("#ff0000", "#ffffff"),
}, },
name_transform=lambda name: name.upper(), name_transform=lambda name: name.upper(),
), ),
widget.Clock(format="%Y-%m-%d %a %H:%M"), widget.Clock(format="%Y-%m-%d %a %H:%M"),
], ],
30, 30,
margine=[4, 6, 2, 6], margin=[3,6,6,6],
border_width=[0, 0, 0, 0], border_width=[0, 0, 0, 0],
# border_color=["ff00ff", "000000", "ff00ff", "000000"] # Borders are magenta # border_color=["ff00ff", "000000", "ff00ff", "000000"] # Borders are magenta
), ),