|
|
|
|
@ -186,6 +186,27 @@ chmod +x ~/.config/hypr/scripts/* 2>&1 | tee -a "$LOG"
|
|
|
|
|
chmod +x ~/.config/hypr/UserScripts/* 2>&1 | tee -a "$LOG" |
|
|
|
|
# Set executable for initial-boot.sh |
|
|
|
|
chmod +x ~/.config/hypr/initial-boot.sh 2>&1 | tee -a "$LOG" |
|
|
|
|
printf "\n%.0s" {1..3} |
|
|
|
|
|
|
|
|
|
# Detect machine type and set Waybar configurations accordingly, logging the output |
|
|
|
|
if hostnamectl | grep -q 'Chassis: desktop'; then |
|
|
|
|
# Configurations for a desktop |
|
|
|
|
ln -sf "$HOME/.config/waybar/configs/[TOP] Default" "$HOME/.config/waybar/config" 2>&1 | tee -a "$LOG" |
|
|
|
|
rm -r "$HOME/.config/waybar/configs/[TOP] Default Laptop" "$HOME/.config/waybar/configs/[BOT] Default Laptop" 2>&1 | tee -a "$LOG" |
|
|
|
|
else |
|
|
|
|
# Configurations for a laptop or any system other than desktop |
|
|
|
|
ln -sf "$HOME/.config/waybar/configs/[TOP] Default Laptop" "$HOME/.config/waybar/config" 2>&1 | tee -a "$LOG" |
|
|
|
|
rm -r "$HOME/.config/waybar/configs/[TOP] Default" "$HOME/.config/waybar/configs/[BOT] Default" 2>&1 | tee -a "$LOG" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# symlinks for waybar style |
|
|
|
|
ln -sf "$Waybar_Style" "$HOME/.config/waybar/style.css" && \ |
|
|
|
|
|
|
|
|
|
# initialize pywal to avoid config error on hyprland |
|
|
|
|
wal -i $wallpaper -s -t 2>&1 | tee -a "$LOG" |
|
|
|
|
|
|
|
|
|
#initial symlink for Pywal Dark and Light for Rofi Themes |
|
|
|
|
ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" |
|
|
|
|
|
|
|
|
|
printf "\n%.0s" {1..3} |
|
|
|
|
|
|
|
|
|
@ -222,29 +243,6 @@ while true; do
|
|
|
|
|
esac |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
printf "\n%.0s" {1..3} |
|
|
|
|
|
|
|
|
|
# Detect machine type and set Waybar configurations accordingly, logging the output |
|
|
|
|
if hostnamectl | grep -q 'Chassis: desktop'; then |
|
|
|
|
# Configurations for a desktop |
|
|
|
|
ln -sf "$HOME/.config/waybar/configs/[TOP] Default" "$HOME/.config/waybar/config" 2>&1 | tee -a "$LOG" |
|
|
|
|
rm -r "$HOME/.config/waybar/configs/[TOP] Default Laptop" "$HOME/.config/waybar/configs/[BOT] Default Laptop" 2>&1 | tee -a "$LOG" |
|
|
|
|
else |
|
|
|
|
# Configurations for a laptop or any system other than desktop |
|
|
|
|
ln -sf "$HOME/.config/waybar/configs/[TOP] Default Laptop" "$HOME/.config/waybar/config" 2>&1 | tee -a "$LOG" |
|
|
|
|
rm -r "$HOME/.config/waybar/configs/[TOP] Default" "$HOME/.config/waybar/configs/[BOT] Default" 2>&1 | tee -a "$LOG" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# symlinks for waybar style |
|
|
|
|
ln -sf "$Waybar_Style" "$HOME/.config/waybar/style.css" && \ |
|
|
|
|
|
|
|
|
|
# initialize pywal to avoid config error on hyprland |
|
|
|
|
wal -i $wallpaper -s -t 2>&1 | tee -a "$LOG" |
|
|
|
|
|
|
|
|
|
#initial symlink for Pywal Dark and Light for Rofi Themes |
|
|
|
|
ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" |
|
|
|
|
|
|
|
|
|
printf "\n%.0s" {1..2} |
|
|
|
|
printf "\n${OK} Copy Completed!\n\n\n" |
|
|
|
|
printf "${ORANGE} ATTENTION!!!! \n" |
|
|
|
|
|