qtile: bar colors for multicreen mode
This commit is contained in:
parent
c13b51cf58
commit
5727e29795
@ -89,7 +89,7 @@ schemas:
|
||||
white: '#fafafa'
|
||||
bright: *bright-colors
|
||||
|
||||
colors: *lupan-dark
|
||||
colors: *lupan-material-dark
|
||||
|
||||
font:
|
||||
size: 12
|
||||
|
@ -1,6 +1,18 @@
|
||||
# Selected colors from https://windicss.org/utilities/colors.html
|
||||
|
||||
colors = {
|
||||
"light-blue": {
|
||||
50: "#f0f9ff",
|
||||
100: "#e0f2fe",
|
||||
200: "#bae6fd",
|
||||
300: "#7dd3fc",
|
||||
400: "#38bdf8",
|
||||
500: "#0ea5e9",
|
||||
600: "#0284c7",
|
||||
700: "#0369a1",
|
||||
800: "#075985",
|
||||
900: "#0c4a6e",
|
||||
},
|
||||
"indigo": {
|
||||
50: "#eef2ff",
|
||||
100: "#e0e7ff",
|
||||
|
@ -34,7 +34,8 @@ def createBar():
|
||||
widget.GroupBox(highlight_method='block',
|
||||
padding_y=10,
|
||||
active=theme["foreground"],
|
||||
**subtheme("inactive", "this_current_screen_border")),
|
||||
**subtheme("inactive", "this_current_screen_border", "this_screen_border",
|
||||
"other_current_screen_border", "other_screen_border")),
|
||||
widget.Spacer(15),
|
||||
widget.WindowName(),
|
||||
widget.Spacer(),
|
||||
|
@ -23,14 +23,19 @@ def light_dark(light, dark):
|
||||
def toggle_theme(qtile):
|
||||
write_theme(light_dark("dark", "light"))
|
||||
|
||||
background = light_dark([colors["blue-gray"][200], colors["blue-gray"][300]],
|
||||
[colors["blue-gray"][700], colors["blue-gray"][800]])
|
||||
theme = dict(
|
||||
root_background=light_dark(colors["blue-gray"][300], colors["blue-gray"][700]),
|
||||
background=light_dark([colors["blue-gray"][200], colors["blue-gray"][300]],
|
||||
[colors["blue-gray"][700], colors["blue-gray"][800]]),
|
||||
background=background,
|
||||
foreground=light_dark(colors["blue-gray"][600], colors["blue-gray"][400]),
|
||||
inactive=light_dark(colors["blue-gray"][400], colors["blue-gray"][500]),
|
||||
this_current_screen_border=light_dark([colors["blue-gray"][50], colors["blue-gray"][200]],
|
||||
[colors["blue-gray"][600], colors["blue-gray"][700]]),
|
||||
this_current_screen_border=light_dark([colors["light-blue"][200], colors["light-blue"][300]],
|
||||
[colors["light-blue"][800], colors["light-blue"][900]]),
|
||||
this_screen_border=light_dark([colors["blue-gray"][300], colors["blue-gray"][400]],
|
||||
[colors["blue-gray"][600], colors["blue-gray"][700]]),
|
||||
other_current_screen_border=background,
|
||||
other_screen_border=background,
|
||||
border_focus=light_dark(colors["indigo"][400], colors["blue-gray"][500]),
|
||||
border_normal=light_dark(colors["indigo"][900], colors["blue-gray"][800]),
|
||||
alacritty_theme=light_dark("lupan-material-light", "lupan-material-dark"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user