forked from Shinonome/dots-hyprland
Tweaks for text and names
This commit is contained in:
@@ -13,7 +13,7 @@ install-yay(){
|
||||
}
|
||||
|
||||
handle-deprecated-dependencies(){
|
||||
printf "${COLOR_CYAN}[$0]: Removing deprecated dependencies:${COLOR_RESET}\n"
|
||||
printf "${STY_CYAN}[$0]: Removing deprecated dependencies:${STY_RESET}\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 ./scriptdata/previous_dependencies.conf ./cache/old_deps_stripped.conf
|
||||
@@ -31,7 +31,7 @@ handle-deprecated-dependencies(){
|
||||
|
||||
#####################################################################################
|
||||
if ! command -v pacman >/dev/null 2>&1; then
|
||||
printf "${COLOR_RED}[$0]: pacman not found, it seems that the system is not ArchLinux or Arch-based distros. Aborting...${COLOR_RESET}\n"
|
||||
printf "${STY_RED}[$0]: pacman not found, it seems that the system is not ArchLinux or Arch-based distros. Aborting...${STY_RESET}\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -47,7 +47,7 @@ readarray -t pkglist < ./cache/dependencies_stripped.conf
|
||||
# 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 "${COLOR_YELLOW}[$0]: \"yay\" not found.${COLOR_RESET}"
|
||||
echo -e "${STY_YELLOW}[$0]: \"yay\" not found.${STY_RESET}"
|
||||
showfun install-yay
|
||||
v install-yay
|
||||
fi
|
||||
@@ -82,12 +82,12 @@ install-local-pkgbuild() {
|
||||
}
|
||||
|
||||
# Install core dependencies from the meta-packages
|
||||
metapkgs=(./arch-packages/illogical-impulse-{audio,backlight,basic,fonts-themes,kde,portal,python,screencapture,toolkit,widgets})
|
||||
metapkgs+=(./arch-packages/illogical-impulse-hyprland)
|
||||
metapkgs+=(./arch-packages/illogical-impulse-microtex-git)
|
||||
# metapkgs+=(./arch-packages/illogical-impulse-oneui4-icons-git)
|
||||
metapkgs=(./dist-arch/illogical-impulse-{audio,backlight,basic,fonts-themes,kde,portal,python,screencapture,toolkit,widgets})
|
||||
metapkgs+=(./dist-arch/illogical-impulse-hyprland)
|
||||
metapkgs+=(./dist-arch/illogical-impulse-microtex-git)
|
||||
# metapkgs+=(./dist-arch/packages/illogical-impulse-oneui4-icons-git)
|
||||
[[ -f /usr/share/icons/Bibata-Modern-Classic/index.theme ]] || \
|
||||
metapkgs+=(./arch-packages/illogical-impulse-bibata-modern-classic-bin)
|
||||
metapkgs+=(./dist-arch/illogical-impulse-bibata-modern-classic-bin)
|
||||
|
||||
for i in "${metapkgs[@]}"; do
|
||||
metainstallflags="--needed"
|
||||
@@ -101,9 +101,9 @@ case $SKIP_PLASMAINTG in
|
||||
true) sleep 0;;
|
||||
*)
|
||||
if $ask;then
|
||||
echo -e "${COLOR_YELLOW}[$0]: NOTE: The size of \"plasma-browser-integration\" is about 600 MiB.${COLOR_RESET}"
|
||||
echo -e "${COLOR_YELLOW}It is needed if you want playtime of media in Firefox to be shown on the music controls widget.${COLOR_RESET}"
|
||||
echo -e "${COLOR_YELLOW}Install it? [y/N]${COLOR_RESET}"
|
||||
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}"
|
||||
read -p "====> " p
|
||||
else
|
||||
p=y
|
||||
|
||||
Reference in New Issue
Block a user