Reorganize and sync management scripts
This commit is contained in:
parent
b0b66786fa
commit
fe709a02ab
2 changed files with 81 additions and 91 deletions
84
install.sh
84
install.sh
|
@ -36,60 +36,44 @@ function link() {
|
|||
)
|
||||
|
||||
# create directories
|
||||
mkdir -p "${HOME}/.local/share/mc/skins" "${HOME}/.local/bin" "${HOME}/.config/xdg-desktop-portal"
|
||||
mkdir -p "${HOME}/.local/share/mc/skins" "${HOME}/.local/bin" "${HOME}/.config/xdg-desktop-portal" "/home/jeremystartm/.config/GIMP/2.10"
|
||||
|
||||
# repositories
|
||||
link "repositories/dracula-mc/skins/dracula.ini" ".local/share/mc/skins/dracula.ini"
|
||||
link "repositories/dracula-mc/skins/dracula256.ini" ".local/share/mc/skins/dracula256.ini"
|
||||
link "repositories/jstmbash" ".jstmbash"
|
||||
|
||||
# bash
|
||||
link "bash/bashrc" ".bashrc"
|
||||
link "bash/bin/launch-menu" ".local/bin/launch-menu"
|
||||
link "bash/jobrunner/daemon.sh" ".local/bin/jobrunner"
|
||||
link "bash/jobrunner/runjob.sh" ".local/bin/jobrunner-runjob"
|
||||
link "bash/jstmbash.config.env" ".config/jstmbash.env"
|
||||
link "bash/starship.toml" ".config/starship.toml"
|
||||
|
||||
# programs
|
||||
link "programs/btop" ".config/btop"
|
||||
link "programs/mpv" ".config/mpv"
|
||||
mkdir -p "/home/jeremystartm/.config/GIMP/2.10"
|
||||
link "programs/gitui" ".config/gitui"
|
||||
link "programs/gimp/splashes" ".config/GIMP/2.10/splashes"
|
||||
link "programs/konsole" ".local/share/konsole"
|
||||
|
||||
# jobrunner
|
||||
link "bash/jobrunner/daemon.sh" ".local/bin/jobrunner"
|
||||
link "bash/jobrunner/runjob.sh" ".local/bin/jobrunner-runjob"
|
||||
|
||||
# bin
|
||||
link "bash/bin/launch-menu" ".local/bin/launch-menu"
|
||||
|
||||
# bash configuration
|
||||
link "repositories/jstmbash" ".jstmbash"
|
||||
link "bash/jstmbash.config.env" ".config/jstmbash.env"
|
||||
link "bash/starship.toml" ".config/starship.toml"
|
||||
link "bash/bashrc" ".bashrc"
|
||||
|
||||
# wm/compositor
|
||||
link "gui/hypr" ".config/hypr"
|
||||
link "gui/waybar" ".config/waybar"
|
||||
link "gui/fnott" ".config/fnott"
|
||||
link "gui/hypr/hyprland-portals.conf" ".config/xdg-desktop-portal/hyprland-portals.conf"
|
||||
|
||||
# programs
|
||||
link "theming/neofetch" ".config/neofetch"
|
||||
link "programs/midnightcommander/share" ".local/share/mc"
|
||||
link "programs/midnightcommander/config" ".config/mc"
|
||||
link "programs/midnightcommander/share" ".local/share/mc"
|
||||
link "programs/mpv" ".config/mpv"
|
||||
|
||||
# theming
|
||||
link "repositories/dracula-mc/skins/dracula.ini" ".local/share/mc/skins/dracula.ini"
|
||||
link "repositories/dracula-mc/skins/dracula256.ini" ".local/share/mc/skins/dracula256.ini"
|
||||
link "theming/nwg-look" ".config/nwg-look"
|
||||
link "theming/qt5ct" ".config/qt5ct"
|
||||
link "theming/qt6ct" ".config/qt6ct"
|
||||
link "theming/kvantum" ".config/Kvantum"
|
||||
link "theming/cursors" ".icons"
|
||||
link "theming/icons" ".local/share/icons"
|
||||
link "theming/fonts" ".fonts"
|
||||
link "theming/fontconfig" ".config/fontconfig"
|
||||
link "theming/wallpapers" ".local/share/wallpapers"
|
||||
# gui
|
||||
link "gui/fnott" ".config/fnott"
|
||||
link "gui/hypr" ".config/hypr"
|
||||
link "gui/hypr/hyprland-portals.conf" ".config/xdg-desktop-portal/hyprland-portals.conf"
|
||||
link "gui/waybar" ".config/waybar"
|
||||
|
||||
# kde
|
||||
link "gui/kde/plasma" ".local/share/plasma"
|
||||
link "gui/kde/kdedefaults" ".config/kdedefaults"
|
||||
link "gui/kde/color-schemes" ".local/share/color-schemes"
|
||||
link "gui/kde/aurorae" ".local/share/aurorae"
|
||||
link "gui/kde/color-schemes" ".local/share/color-schemes"
|
||||
link "gui/kde/kdedefaults" ".config/kdedefaults"
|
||||
link "gui/kde/plasma" ".local/share/plasma"
|
||||
link "gui/kde/rcfiles/dolphinrc" ".config/dolphinrc"
|
||||
link "gui/kde/rcfiles/kglobalshortcutsrc" ".config/kglobalshortcutsrc"
|
||||
link "gui/kde/rcfiles/kiorc" ".config/kiorc"
|
||||
link "gui/kde/rcfiles/konsolerc" ".config/konsolerc"
|
||||
link "gui/kde/rcfiles/krunnerrc" ".config/krunnerrc"
|
||||
link "gui/kde/rcfiles/kservicemenurc" ".config/kservicemenurc"
|
||||
link "gui/kde/rcfiles/ksplashrc" ".config/ksplashrc"
|
||||
|
@ -97,14 +81,22 @@ link "gui/kde/rcfiles/ktimezonedrc" ".config/ktimezonedrc"
|
|||
link "gui/kde/rcfiles/plasma-localerc" ".config/plasma-localrc"
|
||||
link "gui/kde/rcfiles/plasma-org.kde.plasma.desktop-appletsrc" ".config/plasma-org.kde.plasma.desktop-appletsrc"
|
||||
|
||||
# programs
|
||||
link "gui/kde/rcfiles/konsolerc" ".config/konsolerc"
|
||||
link "gui/kde/rcfiles/dolphinrc" ".config/dolphinrc"
|
||||
# theming
|
||||
link "theming/cursors" ".icons"
|
||||
link "theming/fonts" ".fonts"
|
||||
link "theming/fontconfig" ".config/fontconfig"
|
||||
link "theming/icons" ".local/share/icons"
|
||||
link "theming/kvantum" ".config/Kvantum"
|
||||
link "theming/neofetch" ".config/neofetch"
|
||||
link "theming/nwg-look" ".config/nwg-look"
|
||||
link "theming/qt5ct" ".config/qt5ct"
|
||||
link "theming/qt6ct" ".config/qt6ct"
|
||||
link "theming/wallpapers" ".local/share/wallpapers"
|
||||
|
||||
# punktdateien scripts
|
||||
link "bin/install-software" ".local/bin/dotfiles-install-software"
|
||||
link "bin/updatechecker" ".local/bin/dotfiles-updatechecker"
|
||||
link "bin/updater" ".local/bin/dotfiles-updater"
|
||||
link "bin/install-software" ".local/bin/dotfiles-install-software"
|
||||
|
||||
# write install file
|
||||
echo "pls don't remove" > "$HOME/.config/.jstm_dotfiles"
|
||||
|
|
88
uninstall.sh
88
uninstall.sh
|
@ -89,51 +89,42 @@ for arg in "${@}"; do
|
|||
esac
|
||||
done
|
||||
|
||||
# jobrunner
|
||||
unlink ".local/bin/jobrunner"
|
||||
unlink ".local/bin/jobrunner-runjob"
|
||||
|
||||
# bash configuration
|
||||
unlink ".jstmbash"
|
||||
unlink ".config/jstmbash.env"
|
||||
unlink ".config/starship.toml"
|
||||
unlink ".bashrc"
|
||||
|
||||
# wm/compositor
|
||||
unlink ".config/hypr"
|
||||
unlink ".config/waybar"
|
||||
unlink ".config/fnott"
|
||||
unlink ".config/xdg-desktop-portal/hyprland-portals.conf"
|
||||
|
||||
# programs
|
||||
unlink ".config/neofetch"
|
||||
unlink ".config/btop"
|
||||
unlink ".local/share/mc"
|
||||
unlink ".config/mc"
|
||||
unlink ".config/mpv"
|
||||
unlink ".config/GIMP/2.10/splashes"
|
||||
unlink ".config/gitui"
|
||||
|
||||
# theming
|
||||
# repositories
|
||||
unlink ".local/share/mc/skins/dracula.ini"
|
||||
unlink ".local/share/mc/skins/dracula256.ini"
|
||||
unlink ".config/nwg-look"
|
||||
unlink ".config/qt5ct"
|
||||
unlink ".config/qt6ct"
|
||||
unlink ".config/Kvantum"
|
||||
unlink ".icons"
|
||||
unlink ".local/share/icons"
|
||||
unlink ".fonts"
|
||||
unlink ".config/fontconfig"
|
||||
unlink ".local/share/wallpapers"
|
||||
unlink ".jstmbash"
|
||||
|
||||
# bash
|
||||
unlink ".bashrc"
|
||||
unlink ".local/bin/launch-menu"
|
||||
unlink ".local/bin/jobrunner"
|
||||
unlink ".local/bin/jobrunner-runjob"
|
||||
unlink ".config/jstmbash.env"
|
||||
unlink ".config/starship.toml"
|
||||
|
||||
# programs
|
||||
unlink ".config/btop"
|
||||
unlink ".config/gitui"
|
||||
unlink ".config/GIMP/2.10/splashes"
|
||||
unlink ".local/share/konsole"
|
||||
unlink ".config/mc"
|
||||
unlink ".local/share/mc"
|
||||
unlink ".config/mpv"
|
||||
|
||||
# gui
|
||||
unlink ".config/fnott"
|
||||
unlink ".config/hypr"
|
||||
unlink ".config/xdg-desktop-portal/hyprland-portals.conf"
|
||||
unlink ".config/waybar"
|
||||
|
||||
# kde
|
||||
unlink ".local/share/plasma"
|
||||
unlink ".config/kdedefaults"
|
||||
unlink ".local/share/color-schemes"
|
||||
unlink ".local/share/aurorae"
|
||||
unlink ".local/share/color-schemes"
|
||||
unlink ".config/kdedefaults"
|
||||
unlink ".local/share/plasma"
|
||||
unlink ".config/dolphinrc"
|
||||
unlink ".config/kglobalshortcutsrc"
|
||||
unlink ".config/kiorc"
|
||||
unlink ".config/konsolerc"
|
||||
unlink ".config/krunnerrc"
|
||||
unlink ".config/kservicemenurc"
|
||||
unlink ".config/ksplashrc"
|
||||
|
@ -141,16 +132,23 @@ unlink ".config/ktimezonedrc"
|
|||
unlink ".config/plasma-localrc"
|
||||
unlink ".config/plasma-org.kde.plasma.desktop-appletsrc"
|
||||
|
||||
# programs
|
||||
unlink ".config/konsolerc"
|
||||
unlink ".local/share/konsole"
|
||||
unlink ".config/dolphinrc"
|
||||
# theming
|
||||
unlink ".icons"
|
||||
unlink ".fonts"
|
||||
unlink ".config/fontconfig"
|
||||
unlink ".local/share/icons"
|
||||
unlink ".config/Kvantum"
|
||||
unlink ".config/neofetch"
|
||||
unlink ".config/nwg-look"
|
||||
unlink ".config/qt5ct"
|
||||
unlink ".config/qt6ct"
|
||||
unlink ".local/share/wallpapers"
|
||||
|
||||
# punktdateien scripts
|
||||
unlink ".local/bin/dotfiles-install-software"
|
||||
unlink ".local/bin/dotfiles-updatechecker"
|
||||
unlink ".local/bin/dotfiles-updater"
|
||||
unlink ".local/bin/dotfiles-install-software"
|
||||
|
||||
# legacy
|
||||
unlink ".config/eww"
|
||||
unlink ".config/copyq"
|
||||
unlink ".config/eww"
|
||||
|
|
Loading…
Reference in a new issue