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).")
|
gears_debug.print_warning("beautiful: can't get colorscheme from xrdb (using fallback).")
|
||||||
return fallback
|
return fallback
|
||||||
end
|
end
|
||||||
|
if colors[key]:find("rgb:") then
|
||||||
|
colors[key] = "#"..colors[key]:gsub("[a]?rgb:", ""):gsub("/", "")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
return colors
|
return colors
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue