group underline with color similar to window border

This commit is contained in:
Łukasz Pankowski 2022-10-15 13:39:52 +02:00
parent 4a6436123e
commit 7b95888dfa
2 changed files with 3 additions and 4 deletions

View File

@ -87,7 +87,7 @@ def createBar(monitor=None):
widget.Spacer(10), widget.Spacer(10),
widget.CPUGraph(border_color=theme["inactive"], graph_color=theme["foreground"]), widget.CPUGraph(border_color=theme["inactive"], graph_color=theme["foreground"]),
widget.Spacer(10), widget.Spacer(10),
widget.ThermalSensor(foreground=theme["foreground"], fontsize=s["fontsize"]), widget.ThermalSensor(fontsize=s["fontsize"]),
]), ]),
widget.Spacer(10), widget.Spacer(10),
widget.PulseVolume(fontsize=s["fontsize"]), widget.PulseVolume(fontsize=s["fontsize"]),

View File

@ -26,7 +26,6 @@ def light_dark(light, dark):
@lazy.function @lazy.function
def toggle_theme(qtile): def toggle_theme(qtile):
write_theme(light_dark("dark", "light")) write_theme(light_dark("dark", "light"))
theme = get_theme()
qtile.restart() qtile.restart()
background = light_dark([colors["sky"][600], colors["sky"][700]], background = light_dark([colors["sky"][600], colors["sky"][700]],
@ -39,8 +38,8 @@ def get_theme():
root_background=light_dark(colors["blue-gray"][300], colors["blue-gray"][800]), root_background=light_dark(colors["blue-gray"][300], colors["blue-gray"][800]),
background=background, background=background,
foreground=light_dark(colors["blue-gray"][100], colors["blue-gray"][400]), foreground=light_dark(colors["blue-gray"][100], colors["blue-gray"][400]),
inactive=light_dark(colors["blue-gray"][400], colors["blue-gray"][500]), inactive=light_dark(colors["sky"][100], colors["blue-gray"][500]),
this_current_screen_border=light_dark(colors["blue-gray"][100], colors["blue-gray"][400]), this_current_screen_border=light_dark(colors["sky"][400], colors["indigo"][400]),
this_screen_border=light_dark(colors["blue-gray"][400], colors["blue-gray"][500]), this_screen_border=light_dark(colors["blue-gray"][400], colors["blue-gray"][500]),
other_current_screen_border=background, other_current_screen_border=background,
other_screen_border=background, other_screen_border=background,