From 7df25e8ce3e98e4cb56c5eb47c6ada1f414e083c Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 20 May 2023 00:08:22 +0200 Subject: Add icons file --- fnl/plugins/core/lazy.fnl | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) (limited to 'fnl/plugins/core/lazy.fnl') diff --git a/fnl/plugins/core/lazy.fnl b/fnl/plugins/core/lazy.fnl index 8c86de4..797edd3 100644 --- a/fnl/plugins/core/lazy.fnl +++ b/fnl/plugins/core/lazy.fnl @@ -1,5 +1,7 @@ ;; Lazy opts. +(local icons (require :plugins.icons)) + (local opts {:install {:colorscheme [:no-clown-fiesta]} :performance {:cache {:enabled true} :rtp {:disabled_plugins [:gzip @@ -10,22 +12,25 @@ :tutor :zipPlugin]}} :ui {:border :single - :icons {:cmd " " - :config " " - :event " " - :ft " " - :init " " - :import " " - :keys " " - :lazy "鈴 " - :loaded "● " - :not_loaded "○ " - :plugin " " - :runtime " " - :source " " - :start " " - :task " " - :list ["● " " " " " "‒ "]}}}) + :icons {:cmd (.. (. icons :cmd) " ") + :config (.. (. icons :cog) " ") + :event (.. (. icons :lightning) " ") + :ft (.. (. icons :document) " ") + :init (.. (. icons :cog) " ") + :import (.. (. icons :import) " ") + :keys (.. (. icons :keyboard) " ") + :lazy (.. (. icons :sleep) " ") + :loaded (.. (. icons :filled-orb) " ") + :not_loaded (.. (. icons :orb) " ") + :plugin (.. (. icons :package) " ") + :runtime (.. (. icons :vim) " ") + :source (.. (. icons :code) " ") + :start (.. (. icons :play) " ") + :task (.. (. icons :checkmark) " ") + :list [(.. (. icons :filled-orb) " ") + (.. (. icons :right-arrow) " ") + (.. (. icons :star) " ") + (.. (. icons :line) " ")]}}}) (fn setup [plugins] (let [lazy (require :lazy)] -- cgit v1.2.3-70-g09d2