This commit is contained in:
lw-everestlinux committed 2025-11-21 19:24:13 -05:00
commit a7c216c16d
10 files changed
+74

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
[submodule "nwg-bar"]
path = nwg-bar
url = https://git.everestlinux.org/lw-everestlinux/nwg-bar-config
[submodule "waybar"]
path = waybar
url = https://git.everestlinux.org/lw-everestlinux/waybar-config
[submodule "fuzzel"]
path = fuzzel
url = https://git.everestlinux.org/lw-everestlinux/fuzzel-config
[submodule "gtk"]
path = gtk
url = https://git.everestlinux.org/lw-everestlinux/gtk-themes
[submodule "icons"]
path = icons
url = https://git.everestlinux.org/lw-everestlinux/icons
[submodule "kitty"]
path = kitty
url = https://git.everestlinux.org/lw-everestlinux/kitty-config
[submodule "riceman"]
path = riceman
url = https://git.everestlinux.org/lw-everestlinux/riceman
[submodule "hypr"]
path = hypr
url = https://git.everestlinux.org/lw-everestlinux/hyprland-config
Submodule
+1
Submodule fuzzel added at 239c1fec55.
Submodule
+1
Submodule gtk added at eba4b69a87.
Submodule
+1
Submodule hypr added at 79591a8216.
Submodule
+1
Submodule icons added at d3e4c412d9.
Executable
+42
View File
@@ -0,0 +1,42 @@
#!/bin/bash
update_submodules() {
echo "Preparing to update submodules..."
git submodule update --init --recursive --remote
}
backup_old_configs() {
echo "Backing up old config files..."
mkdir -p ${HOME}/.config/dotfiles-old
mv ${HOME}/.config/fuzzel ${HOME}/.config/dotfiles-old
mv ${HOME}/.config/hypr ${HOME}/.config/dotfiles-old
mv ${HOME}/.config/kitty ${HOME}/.config/dotfiles-old
mv ${HOME}/.config/nwg-bar ${HOME}/.config/dotfiles-old
mv ${HOME}/.config/waybar ${HOME}/.config/dotfiles-old
echo "Saved backups of old configurations to ${HOME}/.config/dotfiles-old"
}
install_riceman() {
install ${PWD}/riceman/riceman ${HOME}/.local/bin -m 500
echo "Installed riceman theme manager"
}
symlink() {
echo "Symlinking configuration directories to ${HOME}/.config..."
for d in */; do
[ -d "${d}" ] || continue
base="${d%/}"
case "$base" in
gtk|icons|riceman) continue ;;
esac
ln -svf "${PWD}/${d}" "$HOME/.config/$base"
done
echo "Finished linking directories"
}
update_submodules "$@"
backup_old_configs "$@"
install_riceman "$@"
symlink "$@"
Submodule
+1
Submodule kitty added at e1a8d00163.
Submodule
+1
Submodule nwg-bar added at 3b9cdc02b4.
Submodule
+1
Submodule riceman added at 0ad5373e52.
Submodule
+1
Submodule waybar added at 535ddf7175.