mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2026-03-23 14:05:11 +00:00
Use awful's getdir() to handle XDG_CONFIG_HOME
This commit is contained in:
parent
9ff52689a2
commit
a24051ca1b
|
|
@ -58,10 +58,10 @@ run_once("compton")
|
||||||
os.setlocale(os.getenv("LANG"))
|
os.setlocale(os.getenv("LANG"))
|
||||||
|
|
||||||
-- home path
|
-- home path
|
||||||
homedir = os.getenv("HOME") .. "/.config/awesome/"
|
homedir = awful.util.getdir("config")
|
||||||
|
|
||||||
-- beautiful init
|
-- beautiful init
|
||||||
beautiful.init(awful.util.getdir("config") .. "/themes/blackburn/theme.lua")
|
beautiful.init(homedir .. "/themes/blackburn/theme.lua")
|
||||||
|
|
||||||
-- common
|
-- common
|
||||||
modkey = "Mod4"
|
modkey = "Mod4"
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
theme = {}
|
theme = {}
|
||||||
|
|
||||||
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/blackburn"
|
theme.dir = awful.util.getdir("config") .. "/themes/blackburn"
|
||||||
theme.wallpaper = theme.dir .. "/wall.png"
|
theme.wallpaper = theme.dir .. "/wall.png"
|
||||||
theme.topbar_path = "png:" .. theme.dir .. "/icons/topbar/"
|
theme.topbar_path = "png:" .. theme.dir .. "/icons/topbar/"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
theme = {}
|
theme = {}
|
||||||
|
|
||||||
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/copland"
|
theme.dir = awful.util.getdir("config") .. "/themes/copland"
|
||||||
theme.wallpaper = theme.dir .. "/wall.png"
|
theme.wallpaper = theme.dir .. "/wall.png"
|
||||||
|
|
||||||
theme.font = "Tamsyn 10.5"
|
theme.font = "Tamsyn 10.5"
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
theme = {}
|
theme = {}
|
||||||
|
|
||||||
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/dremora"
|
theme.dir = awful.util.getdir("config") .. "/themes/dremora"
|
||||||
theme.wallpaper = theme.dir .. "/wall.png"
|
theme.wallpaper = theme.dir .. "/wall.png"
|
||||||
|
|
||||||
theme.font = "Tamsyn 10.5"
|
theme.font = "Tamsyn 10.5"
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,9 @@
|
||||||
|
|
||||||
theme = {}
|
theme = {}
|
||||||
|
|
||||||
theme.icon_dir = os.getenv("HOME") .. "/.config/awesome/themes/holo/icons"
|
theme.icon_dir = awful.util.getdir("config") .. "/themes/holo/icons"
|
||||||
|
|
||||||
theme.wallpaper = os.getenv("HOME") .. "/.config/awesome/themes/holo/wall.png"
|
theme.wallpaper = theme.dir .. "/wall.png"
|
||||||
|
|
||||||
theme.topbar_path = "png:" .. theme.icon_dir .. "/topbar/"
|
theme.topbar_path = "png:" .. theme.icon_dir .. "/topbar/"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
theme = {}
|
theme = {}
|
||||||
|
|
||||||
theme.confdir = os.getenv("HOME") .. "/.config/awesome/themes/multicolor"
|
theme.confdir = awful.util.getdir("config") .. "/themes/multicolor"
|
||||||
theme.wallpaper = theme.confdir .. "/wall.png"
|
theme.wallpaper = theme.confdir .. "/wall.png"
|
||||||
|
|
||||||
theme.font = "Terminus 8"
|
theme.font = "Terminus 8"
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
theme = {}
|
theme = {}
|
||||||
|
|
||||||
themes_dir = os.getenv("HOME") .. "/.config/awesome/themes/powerarrow-darker"
|
themes_dir = awful.util.getdir("config") .. "/themes/powerarrow-darker"
|
||||||
theme.wallpaper = themes_dir .. "/wall.png"
|
theme.wallpaper = themes_dir .. "/wall.png"
|
||||||
|
|
||||||
theme.font = "Terminus 9"
|
theme.font = "Terminus 9"
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
theme = {}
|
theme = {}
|
||||||
|
|
||||||
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/rainbow"
|
theme.dir = awful.util.getdir("config") .. "/themes/rainbow"
|
||||||
theme.wallpaper = theme.dir .. "/wall.png"
|
theme.wallpaper = theme.dir .. "/wall.png"
|
||||||
|
|
||||||
theme.font = "Tamsyn 10.5"
|
theme.font = "Tamsyn 10.5"
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
theme = {}
|
theme = {}
|
||||||
|
|
||||||
themes_dir = os.getenv("HOME") .. "/.config/awesome/themes/steamburn"
|
themes_dir = awful.util.getdir("config") .. "/themes/steamburn"
|
||||||
theme.wallpaper = themes_dir .. "/wall.png"
|
theme.wallpaper = themes_dir .. "/wall.png"
|
||||||
|
|
||||||
theme.font = "Tamsyn 10.5"
|
theme.font = "Tamsyn 10.5"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue