From 020a6ec167dab9641ecebcf79af104cb06b13a0d Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Wed, 12 Jul 2017 23:36:38 +0100 Subject: s/configpath/configdir/ --- .config/awesome/rc.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.config/awesome/rc.lua') 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) ) -- cgit v1.2.3