automatic config dir without theme var
This commit is contained in:
parent
3a4f29daa6
commit
836b5bf4a8
|
@ -1,3 +1,4 @@
|
|||
local gears = require("gears")
|
||||
local gcolor = require("gears.color")
|
||||
local beautiful = require("beautiful")
|
||||
local math = math
|
||||
|
@ -78,7 +79,7 @@ function mylayout.arrange(p)
|
|||
end
|
||||
end
|
||||
|
||||
local icon_raw = beautiful.config_path .. "/bling/icons/layouts/centered.png"
|
||||
local icon_raw = gears.filesystem.get_configuration_dir() .. "/bling/icons/layouts/centered.png"
|
||||
|
||||
local function get_icon()
|
||||
if icon_raw ~= nil then
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
local gears = require("gears")
|
||||
local gcolor = require("gears.color")
|
||||
local beautiful = require("beautiful")
|
||||
local math = math
|
||||
|
@ -53,7 +54,7 @@ function mylayout.arrange(p)
|
|||
end
|
||||
end
|
||||
|
||||
local icon_raw = beautiful.config_path .. "/bling/icons/layouts/horizontal.png"
|
||||
local icon_raw = gears.filesystem.get_configuration_dir() .. "/bling/icons/layouts/horizontal.png"
|
||||
|
||||
local function get_icon()
|
||||
if icon_raw ~= nil then
|
||||
|
|
|
@ -181,7 +181,7 @@ function mylayout.arrange(p)
|
|||
update_tabbar(slave_clients, t, t.top_idx, area, master_area_width, slave_area_width)
|
||||
end
|
||||
|
||||
local icon_raw = beautiful.config_path .. "/bling/icons/layouts/mstab.png"
|
||||
local icon_raw = gears.filesystem.get_configuration_dir() .. "/bling/icons/layouts/mstab.png"
|
||||
|
||||
local function get_icon()
|
||||
if icon_raw ~= nil then
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
local gears = require("gears")
|
||||
local gcolor = require("gears.color")
|
||||
local beautiful = require("beautiful")
|
||||
local math = math
|
||||
|
@ -53,7 +54,7 @@ function mylayout.arrange(p)
|
|||
end
|
||||
end
|
||||
|
||||
local icon_raw = beautiful.config_path .. "/bling/icons/layouts/vertical.png"
|
||||
local icon_raw = gears.filesystem.get_configuration_dir() .. "/bling/icons/layouts/vertical.png"
|
||||
|
||||
local function get_icon()
|
||||
if icon_raw ~= nil then
|
||||
|
|
Loading…
Reference in New Issue