fix required symlink to vicious in .config dir by extending the package path in awesome
parent
54d338c229
commit
85d1aed93b
Before Width: | Height: | Size: 333 B After Width: | Height: | Size: 333 B |
|
@ -1,3 +1,9 @@
|
||||||
|
-- fix the package location
|
||||||
|
do
|
||||||
|
confFolder = awesome.conffile:match("(/.+)/.+$")
|
||||||
|
package.path = package.path .. ";" .. confFolder .. "/?.lua" .. ";" .. confFolder .. "/?/init.lua"
|
||||||
|
end
|
||||||
|
|
||||||
-- Standard awesome library
|
-- Standard awesome library
|
||||||
local gears = require("gears")
|
local gears = require("gears")
|
||||||
local awful = require("awful")
|
local awful = require("awful")
|
||||||
|
@ -40,14 +46,14 @@ end
|
||||||
|
|
||||||
-- {{{ Variable definitions
|
-- {{{ Variable definitions
|
||||||
-- Themes define colours, icons, and wallpapers
|
-- Themes define colours, icons, and wallpapers
|
||||||
beautiful.init("/home/yorick/dotfiles/awesome/theme.lua")
|
beautiful.init(confFolder .. "/theme.lua")
|
||||||
|
|
||||||
-- This is used later as the default terminal and editor to run.
|
-- This is used later as the default terminal and editor to run.
|
||||||
terminal = "urxvtc"
|
terminal = "urxvtc"
|
||||||
editor = os.getenv("EDITOR") or "nano"
|
editor = os.getenv("EDITOR") or "nano"
|
||||||
editor_cmd = terminal .. " -e " .. editor
|
editor_cmd = terminal .. " -e " .. editor
|
||||||
|
|
||||||
icon_dir = "/home/yorick/dotfiles/awesome/icons/png"
|
icon_dir = confFolder .. "/icons/png"
|
||||||
|
|
||||||
-- Default modkey.
|
-- Default modkey.
|
||||||
-- Usually, Mod4 is the key with a logo between Control and Alt.
|
-- Usually, Mod4 is the key with a logo between Control and Alt.
|
||||||
|
|
Loading…
Reference in New Issue