diff options
| author | Mike Vink <mike@pionative.com> | 2024-06-07 08:42:31 +0200 |
|---|---|---|
| committer | Mike Vink <mike@pionative.com> | 2024-06-07 08:43:42 +0200 |
| commit | a0d36ed6a666c14c0d92ce2732e23289771778f4 (patch) | |
| tree | 7a1fd99c3ab69245b53f3c67adcf9b54f6fc1ce3 /mut | |
| parent | 164f0e7e9494bdf425da85d9e11a1d9a4ca34141 (diff) | |
update
Diffstat (limited to 'mut')
| -rwxr-xr-x | mut/bin/setbg | 7 | ||||
| -rw-r--r-- | mut/neovim/fnl/conf/events.fnl | 14 | ||||
| -rw-r--r-- | mut/neovim/fnl/conf/settings.fnl | 10 |
3 files changed, 18 insertions, 13 deletions
diff --git a/mut/bin/setbg b/mut/bin/setbg index 451ec91..accfe7d 100755 --- a/mut/bin/setbg +++ b/mut/bin/setbg @@ -10,5 +10,10 @@ if [ $reload -eq 1 ]; then # (cat ~/.cache/wal/sequences &) wal -R else - sxiv -tob ~/bg | parallel wal -i + if [ -z "$1" ]; then + sxiv -tob ~/bg | parallel wal -i + else + wal -i "$1" + fi + kill -HUP "$(pidof dwm)" fi diff --git a/mut/neovim/fnl/conf/events.fnl b/mut/neovim/fnl/conf/events.fnl index dcc73a2..a2c9e68 100644 --- a/mut/neovim/fnl/conf/events.fnl +++ b/mut/neovim/fnl/conf/events.fnl @@ -63,13 +63,13 @@ (lint.try_lint) (vim.schedule #(vim.diagnostic.setloclist {:open false})))}) -(event - [:BufEnter] - {:group "conf#events" - :callback - #(do (var dir (vim.fn.fnamemodify (vim.fn.expand "%") ":h")) - (if (vim.startswith dir "oil://") (set dir (dir:sub (+ 1 (length "oil://"))))) - (vim.cmd (.. "silent !lf -remote \"send cd '" dir "'\"")))}) +;; (event +;; [:BufEnter] +;; {:group "conf#events" +;; :callback +;; #(do (var dir (vim.fn.fnamemodify (vim.fn.expand "%") ":h")) +;; (if (vim.startswith dir "oil://") (set dir (dir:sub (+ 1 (length "oil://"))))) +;; (vim.cmd (.. "silent !lf -remote \"send cd '" dir "'\"")))}) (local session-file (.. vim.env.HOME "/.vimsession.vim")) diff --git a/mut/neovim/fnl/conf/settings.fnl b/mut/neovim/fnl/conf/settings.fnl index 1fbed85..f6abcf1 100644 --- a/mut/neovim/fnl/conf/settings.fnl +++ b/mut/neovim/fnl/conf/settings.fnl @@ -4,19 +4,19 @@ codeium_enabled false loaded_2html_plugin true loaded_fzf false - loaded_man false - loaded_gzip false + ;; loaded_man true + ;; loaded_gzip true loaded_health false loaded_matchit false loaded_matchparen false loaded_netrwPlugin false loaded_rplugin false loaded_shada false - loaded_spellfile false - loaded_tarPlugin false + ;; loaded_spellfile true + ;; loaded_tarPlugin true loaded_tohtml false loaded_tutor false - loaded_zipPlugin false + ;; loaded_zipPlugin true zoxide_use_select true zoxide_hook "pwd" |
