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/ui/alpha.fnl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'fnl/plugins/ui/alpha.fnl') diff --git a/fnl/plugins/ui/alpha.fnl b/fnl/plugins/ui/alpha.fnl index 38c9606..55a962b 100644 --- a/fnl/plugins/ui/alpha.fnl +++ b/fnl/plugins/ui/alpha.fnl @@ -1,5 +1,7 @@ ;; A customizable greeter. +(local icons (require :plugins.icons)) + (local ascii-art [" ##############..... ############## " " ##############......############## " " ##########..........########## " @@ -24,20 +26,18 @@ (let [dashboard (require :alpha.themes.dashboard)] (set dashboard.section.header.val ascii-art) (set dashboard.section.buttons.val - [(dashboard.button :e " New file" ":ene startinsert ") - (dashboard.button :f " Find file" + [(dashboard.button :f (.. (. icons :search) " Find file") ":Telescope find_files theme=dropdown") - (dashboard.button :g " Find text" + (dashboard.button :g (.. (. icons :text) " Find text") ":Telescope live_grep theme=dropdown") - (dashboard.button :p " Find project" + (dashboard.button :p (.. (. icons :notebook) " Find project") ":Telescope projects theme=dropdown") - (dashboard.button :r " Recently used files" + (dashboard.button :r (.. (. icons :clock) " Recently used files") ":Telescope oldfiles theme=dropdown") - (dashboard.button :t " Configuration" + (dashboard.button :t (.. (. icons :cog) " Configuration") ":e ~/.config/nvim/init.lua ") - (dashboard.button :o " Org" - ":Telescope find_files theme=dropdown cwd=~/.local/share/org") - (dashboard.button :q " Quit Neovim" ":qa")]) + (dashboard.button :o (.. (. icons :org) " Org") + ":Telescope find_files theme=dropdown cwd=~/.local/share/org")]) (set dashboard.section.header.opts.hl :AlphaHeader) (set dashboard.section.buttons.opts.hl :AlphaButtons) (set dashboard.opts.opts.noautocmd true) -- cgit v1.2.3-70-g09d2