diff options
author | Joe <rbo@gmx.us> | 2024-12-14 22:53:54 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-12-14 22:53:54 +0100 |
commit | 29e2ad59bd578c8718c18e311f34aa44001fc8c6 (patch) | |
tree | 8a11eb8989b0521f566bec42869250d95b106eab | |
parent | up (diff) | |
download | dotfiles-bsd-29e2ad59bd578c8718c18e311f34aa44001fc8c6.tar.gz dotfiles-bsd-29e2ad59bd578c8718c18e311f34aa44001fc8c6.tar.bz2 dotfiles-bsd-29e2ad59bd578c8718c18e311f34aa44001fc8c6.tar.xz dotfiles-bsd-29e2ad59bd578c8718c18e311f34aa44001fc8c6.tar.zst dotfiles-bsd-29e2ad59bd578c8718c18e311f34aa44001fc8c6.zip |
up
-rw-r--r-- | .config/dunst/dunstrc | 1 | ||||
-rw-r--r-- | .config/nvim/lua/hooks.lua | 16 | ||||
-rwxr-xr-x | .local/bin/synchdd | 3 |
3 files changed, 11 insertions, 9 deletions
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 90540f9..8cac664 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -2,7 +2,6 @@ monitor = 0 follow = none width = (200, 800) - height = 500 origin = top-right offset = 50x50 indicate_hidden = yes diff --git a/.config/nvim/lua/hooks.lua b/.config/nvim/lua/hooks.lua index aeb43a9..eaf0687 100644 --- a/.config/nvim/lua/hooks.lua +++ b/.config/nvim/lua/hooks.lua @@ -1,8 +1,8 @@ --- vim.api.nvim_create_autocmd({"BufWritePre"}, { --- pattern = "*", --- callback = function(ev) --- save_cursor = vim.fn.getpos(".") --- vim.cmd([[%s/\s\+$//e]]) --- vim.fn.setpos(".", save_cursor) --- end, --- }) +vim.api.nvim_create_autocmd({"BufWritePre"}, { + pattern = "*", + callback = function(ev) + save_cursor = vim.fn.getpos(".") + vim.cmd([[%s/\s\+$//e]]) + vim.fn.setpos(".", save_cursor) + end, +}) diff --git a/.local/bin/synchdd b/.local/bin/synchdd index af1aa96..642967a 100755 --- a/.local/bin/synchdd +++ b/.local/bin/synchdd @@ -7,6 +7,9 @@ dest="$HOME"/exthdd/ # books rsync -avhk --delete-after \ $HOME/books $dest +# dev +rsync -avhk --delete-after \ + $HOME/dev $dest # docs rsync -avhk --delete-after \ --exclude 'dotfiles-*' \ |