mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-11-11 20:43:00 +01:00
rofi: manually configure additional modes
This commit is contained in:
parent
ed2381f2c4
commit
81f6421e4b
1 changed files with 2 additions and 10 deletions
|
@ -4,17 +4,9 @@ local modi = {
|
|||
"drun",
|
||||
"combi",
|
||||
}
|
||||
-- Only enable nheko mode if rofi-nheko is installed.
|
||||
if opt.fileExists(
|
||||
os.getenv "HOME"
|
||||
.. "/.local/lib/rofi/librofi_nheko.so"
|
||||
) then
|
||||
table.insert(modi, "nheko")
|
||||
end
|
||||
|
||||
-- Only enable rofi-emoji if installed.
|
||||
if opt.fileExists "/usr/lib/rofi/emoji.so" then
|
||||
table.insert(modi, "emoji")
|
||||
for _, m in ipairs(opt.extra_rofi_modes or {}) do
|
||||
table.insert(modi, m)
|
||||
end
|
||||
!>
|
||||
configuration {
|
||||
|
|
Loading…
Reference in a new issue