make use of confgen correctly setting template environment now

This commit is contained in:
LordMZTE 2023-06-30 17:33:54 +02:00
parent b52b3c02ad
commit 070293b017
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
2 changed files with 2 additions and 2 deletions

View file

@ -2,6 +2,6 @@
-- File containing GTK3 filemanager bookmarks -- File containing GTK3 filemanager bookmarks
-- Used by Thunar among others -- Used by Thunar among others
local bookmarks = opt.filemanager_bookmarks or {} local bookmarks = opt.filemanager_bookmarks or {}
for _, bm in _G.pairs(bookmarks) do for _, bm in pairs(bookmarks) do
!>file://<% bm %> !>file://<% bm %>
<! end !> <! end !>

View file

@ -1,7 +1,7 @@
<! <!
-- Only enable nheko mode if rofi-nheko is installed. -- Only enable nheko mode if rofi-nheko is installed.
local have_rofi_nheko = opt.fileExists( local have_rofi_nheko = opt.fileExists(
_G.os.getenv "HOME" os.getenv "HOME"
.. "/.local/lib/rofi/librofi_nheko.so" .. "/.local/lib/rofi/librofi_nheko.so"
) )
!> !>