Update & clean some stuff up

This commit is contained in:
2025-12-18 20:35:11 +00:00
parent 81eefc4f84
commit cba2ca3b1c
3 changed files with 18 additions and 6 deletions

1
.gitignore vendored
View File

@@ -4,3 +4,4 @@
/config/bash/env /config/bash/env
# Ignore backups of old config files # Ignore backups of old config files
/config/old/** /config/old/**
/config/dot/nvim/lazy-lock.json

View File

@@ -1,5 +1,5 @@
{ {
"LuaSnip": { "branch": "master", "commit": "5a1e39223db9a0498024a77b8441169d260c8c25" }, "LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" },
"avante.nvim": { "branch": "main", "commit": "80f7079556c6acf3d3effa13c22f0e4fd00bcffd" }, "avante.nvim": { "branch": "main", "commit": "80f7079556c6acf3d3effa13c22f0e4fd00bcffd" },
"barbar.nvim": { "branch": "master", "commit": "53b5a2f34b68875898f0531032fbf090e3952ad7" }, "barbar.nvim": { "branch": "master", "commit": "53b5a2f34b68875898f0531032fbf090e3952ad7" },
"cloak.nvim": { "branch": "main", "commit": "648aca6d33ec011dc3166e7af3b38820d01a71e4" }, "cloak.nvim": { "branch": "main", "commit": "648aca6d33ec011dc3166e7af3b38820d01a71e4" },

21
install
View File

@@ -1,9 +1,20 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source ~/.local/share/Panama/bin/ascii source ~/.local/share/Panama/bin/ascii
# Set host name # Set host name
read -p "What should the hostname be? " HOST_NAME echo -e "Current hostname is: $(hostname)"
sudo hostnamectl set-hostname $HOST_NAME read -p "Do you want to change the hostname? [y/N]: " confirm_change
if [[ "$confirm_change" =~ ^[Yy]$ ]]; then
read -p "Hostname: " HOST_NAME
read -p "Set hostname to '$HOST_NAME'? [y/N]: " confirm_hostname
if [[ "$confirm_hostname" =~ ^[Yy]$ ]]; then
sudo hostnamectl set-hostname "$HOST_NAME"
echo "Hostname set to: $(hostname)"
else
echo "Hostname not changed."
fi
else
echo "Not changing hostname."
exit
fi
# Run scripts
for script in ~/.local/share/Panama/setup/scripts/*; do source $script; done for script in ~/.local/share/Panama/setup/scripts/*; do source $script; done