This commit is contained in:
Uli Schlachter 2016-01-17 16:00:11 +01:00
commit 2ab98f5e4a
1 changed files with 3 additions and 0 deletions

View File

@ -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