Merge branch 'rgb-xresources' of https://github.com/actionless/awesome
This commit is contained in:
commit
2ab98f5e4a
|
@ -57,6 +57,9 @@ function xresources.get_current_theme()
|
|||
gears_debug.print_warning("beautiful: can't get colorscheme from xrdb (using fallback).")
|
||||
return fallback
|
||||
end
|
||||
if colors[key]:find("rgb:") then
|
||||
colors[key] = "#"..colors[key]:gsub("[a]?rgb:", ""):gsub("/", "")
|
||||
end
|
||||
end
|
||||
return colors
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue