forked from Shinonome/dots-hyprland
Update STY_ vars
This commit is contained in:
@@ -15,7 +15,7 @@ install-yay(){
|
||||
# NOTE: `handle-deprecated-dependencies` was for the old days when we just switch from dependencies.conf to local PKGBUILDs.
|
||||
# However, let's just keep it as references for other distros writing their `sdist/<DISTRO_ID>/install-deps.sh`, if they need it.
|
||||
handle-deprecated-dependencies(){
|
||||
printf "${STY_CYAN}[$0]: Removing deprecated dependencies:${STY_RESET}\n"
|
||||
printf "${STY_CYAN}[$0]: Removing deprecated dependencies:${STY_RST}\n"
|
||||
for i in illogical-impulse-{microtex,pymyc-aur,ags,agsv1} {hyprutils,hyprpicker,hyprlang,hypridle,hyprland-qt-support,hyprland-qtutils,hyprlock,xdg-desktop-portal-hyprland,hyprcursor,hyprwayland-scanner,hyprland}-git;do try sudo pacman --noconfirm -Rdd $i;done
|
||||
# Convert old dependencies to non explicit dependencies so that they can be orphaned if not in meta packages
|
||||
remove_bashcomments_emptylines ./sdist/arch/previous_dependencies.conf ./cache/old_deps_stripped.conf
|
||||
@@ -33,7 +33,7 @@ handle-deprecated-dependencies(){
|
||||
|
||||
#####################################################################################
|
||||
if ! command -v pacman >/dev/null 2>&1; then
|
||||
printf "${STY_RED}[$0]: pacman not found, it seems that the system is not ArchLinux or Arch-based distros. Aborting...${STY_RESET}\n"
|
||||
printf "${STY_RED}[$0]: pacman not found, it seems that the system is not ArchLinux or Arch-based distros. Aborting...${STY_RST}\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -46,7 +46,7 @@ esac
|
||||
# Use yay. Because paru does not support cleanbuild.
|
||||
# Also see https://wiki.hyprland.org/FAQ/#how-do-i-update
|
||||
if ! command -v yay >/dev/null 2>&1;then
|
||||
echo -e "${STY_YELLOW}[$0]: \"yay\" not found.${STY_RESET}"
|
||||
echo -e "${STY_YELLOW}[$0]: \"yay\" not found.${STY_RST}"
|
||||
showfun install-yay
|
||||
v install-yay
|
||||
fi
|
||||
@@ -93,9 +93,9 @@ case $SKIP_PLASMAINTG in
|
||||
true) sleep 0;;
|
||||
*)
|
||||
if $ask;then
|
||||
echo -e "${STY_YELLOW}[$0]: NOTE: The size of \"plasma-browser-integration\" is about 600 MiB.${STY_RESET}"
|
||||
echo -e "${STY_YELLOW}It is needed if you want playtime of media in Firefox to be shown on the music controls widget.${STY_RESET}"
|
||||
echo -e "${STY_YELLOW}Install it? [y/N]${STY_RESET}"
|
||||
echo -e "${STY_YELLOW}[$0]: NOTE: The size of \"plasma-browser-integration\" is about 600 MiB.${STY_RST}"
|
||||
echo -e "${STY_YELLOW}It is needed if you want playtime of media in Firefox to be shown on the music controls widget.${STY_RST}"
|
||||
echo -e "${STY_YELLOW}Install it? [y/N]${STY_RST}"
|
||||
read -p "====> " p
|
||||
else
|
||||
p=y
|
||||
|
||||
@@ -7,20 +7,20 @@ printf "GCC-15>= is required for Hyprland\n"
|
||||
printf "If you have GCC-15>= and it's currently set then you can safely ignore this\n"
|
||||
printf "If not, you must ensure you are using the correct GCC version and set it (gcc-config <number>)\n"
|
||||
printf "It is heavily recommended to re-emerge @world with an empty tree after changing GCC version (emerge -e @world)\n\n"
|
||||
printf "${STY_RESET}"
|
||||
printf "${STY_RST}"
|
||||
pause
|
||||
|
||||
printf "${STY_YELLOW}"
|
||||
printf "============WARNING/NOTE (2)============\n"
|
||||
printf "Ensure you have a global use flag for elogind or systemd in your make.conf for simplicity\n"
|
||||
printf "Or you can manually add the use flags for each package that requires it\n"
|
||||
printf "${STY_RESET}"
|
||||
printf "${STY_RST}"
|
||||
pause
|
||||
|
||||
printf "${STY_YELLOW}"
|
||||
printf "https://github.com/end-4/dots-hyprland/blob/main/sdist/gentoo/README.md"
|
||||
printf "Checkout the above README for potential bug fixes or additional information"
|
||||
printf "${STY_RESET}"
|
||||
printf "${STY_RST}"
|
||||
pause
|
||||
|
||||
x sudo emerge --noreplace --quiet app-eselect/eselect-repository
|
||||
|
||||
@@ -27,7 +27,7 @@ elif [[ ! -z $(openrc --version) ]]; then
|
||||
else
|
||||
printf "${STY_RED}"
|
||||
printf "====================INIT SYSTEM NOT FOUND====================\n"
|
||||
printf "${STY_RESET}"
|
||||
printf "${STY_RST}"
|
||||
pause
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user