Add local .desktop files to menu
This commit is contained in:
parent
c0984eea1e
commit
5a92369dc1
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ end
|
||||||
|
|
||||||
local maildir_base = os.getenv("HOME") .. "/documents/mail/"
|
local maildir_base = os.getenv("HOME") .. "/documents/mail/"
|
||||||
|
|
||||||
|
table.insert(menubar.menu_gen.all_menu_dirs,
|
||||||
|
os.getenv("HOME") .. "/.local/share/applications/")
|
||||||
|
|
||||||
function new_mail(maildir)
|
function new_mail(maildir)
|
||||||
local count = 0
|
local count = 0
|
||||||
local newmaildir = maildir_base .. maildir .. "/new"
|
local newmaildir = maildir_base .. maildir .. "/new"
|
||||||
|
|
Loading…
Reference in a new issue