From b74c9dd22e632bbe720587db92966c4d6811b766 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 11 Apr 2022 18:52:34 +0200 Subject: style: format with fnlfmt --- fnl/config/alpha.fnl | 61 ++++++++++++++++++++++++++-------------------------- 1 file changed, 30 insertions(+), 31 deletions(-) (limited to 'fnl/config/alpha.fnl') diff --git a/fnl/config/alpha.fnl b/fnl/config/alpha.fnl index 13a02c6..4fb51ec 100644 --- a/fnl/config/alpha.fnl +++ b/fnl/config/alpha.fnl @@ -1,41 +1,40 @@ ;; A customizable greeter. -(module config.alpha - {autoload {util util}}) +(module config.alpha {autoload {util util}}) -(def- ascii-art [ - " ##############..... ############## " - " ##############......############## " - " ##########..........########## " - " ##########........########## " - " ##########.......########## " - " ##########.....##########.. " - " ##########....##########..... " - " ..##########..##########......... " - " ....##########.#########............. " - " ..################JJJ............ " - " ################............. " - " ##############.JJJ.JJJJJJJJJJ " - " ############...JJ...JJ..JJ JJ " - " ##########....JJ...JJ..JJ JJ " - " ########......JJJ..JJJ JJJ JJJ " - " ###### ......... " - " ..... " - " . " -]) +(def- ascii-art [" ##############..... ############## " + " ##############......############## " + " ##########..........########## " + " ##########........########## " + " ##########.......########## " + " ##########.....##########.. " + " ##########....##########..... " + " ..##########..##########......... " + " ....##########.#########............. " + " ..################JJJ............ " + " ################............. " + " ##############.JJJ.JJJJJJJJJJ " + " ############...JJ...JJ..JJ JJ " + " ##########....JJ...JJ..JJ JJ " + " ########......JJJ..JJJ JJJ JJJ " + " ###### ......... " + " ..... " + " . "]) (let [alpha (util.load-plugin :alpha)] (let [dashboard (require :alpha.themes.dashboard)] (do (set dashboard.section.header.val ascii-art) - (set dashboard.section.buttons.val [ - (dashboard.button "f" " Find file" ":Telescope file_browser ") - (dashboard.button "e" " New file" ":ene startinsert ") - (dashboard.button "p" " Find project" ":Telescope projects ") - (dashboard.button "r" " Recently used files" ":Telescope oldfiles ") - (dashboard.button "t" " Find text" ":Telescope live_grep ") - (dashboard.button "c" " Configuration" ":e ~/.config/nvim/init.lua ") - (dashboard.button "q" " Quit Neovim" ":qa") - ]) + (set dashboard.section.buttons.val + [(dashboard.button :f " Find file" + ":Telescope file_browser ") + (dashboard.button :e " New file" ":ene startinsert ") + (dashboard.button :p " Find project" ":Telescope projects ") + (dashboard.button :r " Recently used files" + ":Telescope oldfiles ") + (dashboard.button :t " Find text" ":Telescope live_grep ") + (dashboard.button :c " Configuration" + ":e ~/.config/nvim/init.lua ") + (dashboard.button :q " Quit Neovim" ":qa")]) (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