From 0a6e05e930596c4e25bd6ae7b654c2d86a6951c0 Mon Sep 17 00:00:00 2001 From: Yessiest Date: Sun, 4 Sep 2022 21:18:58 +0400 Subject: [PATCH] Fixed some issues in xdg_data regarding fallback paths --- modules/xdg_data.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/xdg_data.lua b/modules/xdg_data.lua index 19ffcb2..8c24d4e 100644 --- a/modules/xdg_data.lua +++ b/modules/xdg_data.lua @@ -17,7 +17,7 @@ local desktop_dirs = {} local desktop_dirs_complete = 0 local icon_dirs = {} ((os.getenv("XDG_DATA_DIRS") or - "/usr/share/applications:/usr/local/share/applications")..":/home/yessiest/.local/share"):gsub("[^:]*",function(path) + "/usr/share:/usr/local/share")..":"..os.getenv("HOME").."/.local/share"):gsub("[^:]*",function(path) if gears.filesystem.dir_readable(path.."/applications") then table.insert(desktop_dirs, path.."/applications") end