Stop using avandu
Last time I tried one of the dependencies couldn't be loaded.
This commit is contained in:
parent
38c9454e2b
commit
ceff401cc8
1 changed files with 1 additions and 13 deletions
|
@ -14,18 +14,10 @@ local lfs = require("lfs")
|
|||
local posix = require("posix")
|
||||
|
||||
local hostname = posix.uname("%n")
|
||||
local avandu = nil
|
||||
|
||||
naughty.config.defaults.bg = "#3d3d3d"
|
||||
naughty.config.defaults.icon_size = 32
|
||||
|
||||
if hostname == "drd" then
|
||||
package.path =
|
||||
'/home/slash/projects/avandu-lua/lua/?.lua;' .. package.path
|
||||
|
||||
avandu = require 'avandu'
|
||||
end
|
||||
|
||||
local maildir_base = os.getenv("HOME") .. "/documents/mail/"
|
||||
|
||||
table.insert(menubar.menu_gen.all_menu_dirs,
|
||||
|
@ -96,10 +88,6 @@ end
|
|||
-- Themes define colours, icons, font and wallpapers.
|
||||
beautiful.init(os.getenv("HOME") .. "/.config/awesome/themes/default/theme.lua")
|
||||
|
||||
if avandu then
|
||||
avandu.ttrss_url = "https://ryuslash.org/tt-rss/api/"
|
||||
end
|
||||
|
||||
-- This is used later as the default terminal and editor to run.
|
||||
terminal = "urxvtc"
|
||||
editor = "emacsclient"
|
||||
|
@ -326,7 +314,7 @@ for s = 1, screen.count() do
|
|||
local right_layout = wibox.layout.fixed.horizontal()
|
||||
if s == 1 then
|
||||
right_layout:add(mykeyringlist)
|
||||
if avandu then right_layout:add(myrsslist) end
|
||||
if hostname == "drd" then right_layout:add(myrsslist) end
|
||||
right_layout:add(mymailwidget)
|
||||
|
||||
-- for k, w in pairs(mailwidgets) do
|
||||
|
|
Loading…
Reference in a new issue