diff options
Diffstat (limited to '')
-rw-r--r-- | .config/awesome/rc.lua | 7 | ||||
-rw-r--r-- | .config/awesome/theme.lua | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index a7cd86c..8b2fdc8 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -48,10 +48,11 @@ end -- }}} -- {{{ Variable definitions -configpath="/home/"..os.getenv("USER").."/.config/awesome/" +configdir="/home/"..os.getenv("USER").."/.config/awesome/" +--configdir = gears.filesystem.get_configuration_dir() -- requires Awesome v4.1 -- Themes define colours, icons, font and wallpapers. -beautiful.init(configpath .. "/theme.lua") +beautiful.init(configdir .. "/theme.lua") -- This is used later as the default terminal and editor to run. terminal = "/usr/bin/urxvtcd" @@ -363,7 +364,7 @@ quicklaunch_torbrowser:buttons(awful.util.table.join( ) quicklaunch_chrome_gpm = wibox.widget.imagebox() -quicklaunch_chrome_gpm:set_image("/home/jmccrohan/.config/awesome/icons/googleplaymusic.png") +quicklaunch_chrome_gpm:set_image(configdir .. "/icons/googleplaymusic.png") quicklaunch_chrome_gpm:buttons(awful.util.table.join( awful.button({ }, 1, function() awful.spawn.with_shell("/usr/bin/google-chrome --app=https://play.google.com/music/listen") end) ) diff --git a/.config/awesome/theme.lua b/.config/awesome/theme.lua index 35ef62f..0982afa 100644 --- a/.config/awesome/theme.lua +++ b/.config/awesome/theme.lua @@ -97,9 +97,9 @@ theme.layout_cornerne = "/usr/share/awesome/themes/default/layouts/cornernew.png theme.layout_cornersw = "/usr/share/awesome/themes/default/layouts/cornersww.png" theme.layout_cornerse = "/usr/share/awesome/themes/default/layouts/cornersew.png" -theme.awesome_icon = configpath .. "/icons/awesome.svg" -theme.debian_icon = configpath .. "/icons/debian.svg" -theme.linux_icon = configpath .. "/icons/linux.svg" +theme.awesome_icon = configdir .. "/icons/awesome.svg" +theme.debian_icon = configdir .. "/icons/debian.svg" +theme.linux_icon = configdir .. "/icons/linux.svg" -- Define the icon theme for application icons. If not set then the icons -- from /usr/share/icons and /usr/share/icons/hicolor will be used. |