summaryrefslogtreecommitdiff
path: root/fnl/config/alpha.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 18:52:34 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 18:52:34 +0200
commitb74c9dd22e632bbe720587db92966c4d6811b766 (patch)
treef68e5bb862fd5a800f86852e535d29984f461cb3 /fnl/config/alpha.fnl
parent274648011686b1c822e63b03bdcc6f2ce8e9b41e (diff)
style: format with fnlfmt
Diffstat (limited to 'fnl/config/alpha.fnl')
-rw-r--r--fnl/config/alpha.fnl61
1 files changed, 30 insertions, 31 deletions
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 <CR>")
- (dashboard.button "e" " New file" ":ene <BAR> startinsert <CR>")
- (dashboard.button "p" " Find project" ":Telescope projects <CR>")
- (dashboard.button "r" " Recently used files" ":Telescope oldfiles <CR>")
- (dashboard.button "t" " Find text" ":Telescope live_grep <CR>")
- (dashboard.button "c" " Configuration" ":e ~/.config/nvim/init.lua <CR>")
- (dashboard.button "q" " Quit Neovim" ":qa<CR>")
- ])
+ (set dashboard.section.buttons.val
+ [(dashboard.button :f " Find file"
+ ":Telescope file_browser <CR>")
+ (dashboard.button :e " New file" ":ene <BAR> startinsert <CR>")
+ (dashboard.button :p " Find project" ":Telescope projects <CR>")
+ (dashboard.button :r " Recently used files"
+ ":Telescope oldfiles <CR>")
+ (dashboard.button :t " Find text" ":Telescope live_grep <CR>")
+ (dashboard.button :c " Configuration"
+ ":e ~/.config/nvim/init.lua <CR>")
+ (dashboard.button :q " Quit Neovim" ":qa<CR>")])
(set dashboard.section.header.opts.hl :AlphaHeader)
(set dashboard.section.buttons.opts.hl :AlphaButtons)
(set dashboard.opts.opts.noautocmd true)