summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-17 16:59:48 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-17 16:59:48 +0200
commitdd1cfd2fee20f83bae4d3ed28546665a1b89f2a8 (patch)
tree55c1e500f955da0c62ae42744ece43b2941b0be1 /fnl/config
parent52a8b447286c2bbd83ff99c18313a07fbc6f9a29 (diff)
Add winbar
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/init.fnl1
-rw-r--r--fnl/config/lualine.fnl8
-rw-r--r--fnl/config/winbar.fnl4
3 files changed, 9 insertions, 4 deletions
diff --git a/fnl/config/init.fnl b/fnl/config/init.fnl
index d64a6e3..2aa9da2 100644
--- a/fnl/config/init.fnl
+++ b/fnl/config/init.fnl
@@ -26,4 +26,5 @@
config.which-key
config.window-picker
config.zen
+ config.winbar
config.lsp]})
diff --git a/fnl/config/lualine.fnl b/fnl/config/lualine.fnl
index 5bc85c4..f439f2d 100644
--- a/fnl/config/lualine.fnl
+++ b/fnl/config/lualine.fnl
@@ -52,13 +52,13 @@
:disabled_filetypes ignore
:always_divide_middle true}
:sections {:lualine_a [:mode]
- :lualine_b [branch diff :filename]
+ :lualine_b [branch diff]
:lualine_c {}
- :lualine_x [filetype]
- :lualine_y [language-server diagnostics]
+ :lualine_x [language-server diagnostics]
+ :lualine_y [filetype]
:lualine_z [:location :progress]}
:inactive_sections {:lualine_a [:mode]
- :lualine_b [:filename]
+ :lualine_b {}
:lualine_c {}
:lualine_x {}
:lualine_y {}
diff --git a/fnl/config/winbar.fnl b/fnl/config/winbar.fnl
new file mode 100644
index 0000000..6b1c548
--- /dev/null
+++ b/fnl/config/winbar.fnl
@@ -0,0 +1,4 @@
+;; Winbar settings
+(module config.winbar)
+
+(tset vim.opt :winbar :%t%m)