feat: Moves local scripts directory. Handles systemd configurations.

This commit is contained in:
2025-09-28 10:04:15 -04:00
parent e5baef9bac
commit 28903f8078
50 changed files with 323 additions and 271 deletions

22
env/.local/scripts/nvims vendored Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/zsh
# Change / select an nvim configuration.
#
# The configuration's need to be in the ~/.config folder
# to work properly.
#
main() {
items=("default" "m-housh" "kickstart" "lazy")
config=$(printf "%s\n" "${items[@]}" \
| fzf --prompt=" Neovim Config ➣ " --height=50% --layout=reverse --border --exit-0
)
if [ -z "$config" ]; then
echo "Nothing selected"
return 0
elif [ $config == "default" ]; then
config=""
fi
unset VIMINIT && unset MYVIMRC && export NVIM_APPNAME=$config && nvim $@
}
main "$@"