fixed awesome autostart dir. added wallpaper setter script. made no extension be filetype sh in neovim. renamed some scripts.

This commit is contained in:
2025-06-04 10:16:12 -05:00
parent edf3d20945
commit b69040fda0
14 changed files with 93 additions and 10 deletions

View File

@@ -48,3 +48,15 @@ vim.filetype.add({
src = "greyscript"
}
})
-- make no file extension go to sh type
vim.api.nvim_create_autocmd({"BufRead", "BufNewFile"}, {
pattern = "*",
callback = function()
local fname = vim.fn.expand("%:t")
if not fname:find("%.") then -- no dot in filename
vim.bo.filetype = "sh"
end
end
})