Merge pull request #738 from awesomeWM/add_transparent

gears.color: Add transparent constant
This commit is contained in:
Emmanuel Lepage Vallée 2016-03-04 04:12:01 -05:00
commit 2de2584094
1 changed files with 3 additions and 0 deletions

View File

@ -333,6 +333,9 @@ end
pattern_cache = require("gears.cache").new(color.create_pattern_uncached) pattern_cache = require("gears.cache").new(color.create_pattern_uncached)
--- No color
color.transparent = color.create_pattern("#00000000")
return setmetatable(color, color.mt) return setmetatable(color, color.mt)
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80