✨ feat(update-repo): also add fastfetch config, show status on Update_remote
This commit is contained in:
@@ -14,8 +14,3 @@ cursor {
|
|||||||
# Set to true if you have issues
|
# Set to true if you have issues
|
||||||
no_hardware_cursors = false
|
no_hardware_cursors = false
|
||||||
}
|
}
|
||||||
|
|
||||||
render {
|
|
||||||
# Set to false if you have issues
|
|
||||||
explicit_sync = true
|
|
||||||
}
|
|
||||||
|
|||||||
+4
-1
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
HYPRLAND_DOTS_DIRS=("hypr" "swaync" "waybar" "anyrun" "wlogout" "wal")
|
HYPRLAND_DOTS_DIRS=("hypr" "swaync" "waybar" "anyrun" "wlogout" "wal" "fastfetch")
|
||||||
WALLPAPERS_DIR="$HOME/wallpapers"
|
WALLPAPERS_DIR="$HOME/wallpapers"
|
||||||
|
|
||||||
printf "\n"
|
printf "\n"
|
||||||
@@ -69,6 +69,7 @@ Check_existance() {
|
|||||||
Update_local() {
|
Update_local() {
|
||||||
for dotsDir in ${HYPRLAND_DOTS_DIRS[@]}; do
|
for dotsDir in ${HYPRLAND_DOTS_DIRS[@]}; do
|
||||||
if [[ -d "$HOME/.config/$dotsDir" ]]; then
|
if [[ -d "$HOME/.config/$dotsDir" ]]; then
|
||||||
|
echo "-> Trying to copy ${dotsDir^}..."
|
||||||
cp -r $HOME/.config/$dotsDir ./$dotsDir
|
cp -r $HOME/.config/$dotsDir ./$dotsDir
|
||||||
else
|
else
|
||||||
Send_log "warn" "Looks like the ~/.config/$dotsDir dir is in fault! Skipping it..."
|
Send_log "warn" "Looks like the ~/.config/$dotsDir dir is in fault! Skipping it..."
|
||||||
@@ -84,6 +85,8 @@ Update_local() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Update_remote() {
|
Update_remote() {
|
||||||
|
echo "Git status:"
|
||||||
|
/usr/bin/env git status
|
||||||
echo "Please type one of the dotfiles you want to push now(only one dir):"
|
echo "Please type one of the dotfiles you want to push now(only one dir):"
|
||||||
ls --color=auto -d -- */
|
ls --color=auto -d -- */
|
||||||
printf "Directory: "
|
printf "Directory: "
|
||||||
|
|||||||
Reference in New Issue
Block a user