mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
Fixed pkg name qt-style-kavantum-themes not qt5
On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: install-scripts/01-hypr-pkgs.sh
This commit is contained in:
parent
b98e468d56
commit
24fb2b0dc5
@ -12,79 +12,82 @@ Extra=(
|
|||||||
|
|
||||||
# packages needed
|
# packages needed
|
||||||
hypr_package=(
|
hypr_package=(
|
||||||
cliphist
|
cliphist
|
||||||
grim
|
grim
|
||||||
gvfs
|
gvfs
|
||||||
gvfs-backends
|
gvfs-backends
|
||||||
inxi
|
inxi
|
||||||
imagemagick
|
imagemagick
|
||||||
kitty
|
kitty
|
||||||
nano
|
nano
|
||||||
pavucontrol
|
pavucontrol
|
||||||
playerctl
|
playerctl
|
||||||
polkit-kde-agent-1
|
polkit-kde-agent-1
|
||||||
python3-requests
|
python3-requests
|
||||||
python3-pip
|
python3-pip
|
||||||
qt5ct
|
qt5ct
|
||||||
qt5-style-kvantum
|
qt5-style-kvantum
|
||||||
qt5-style-kvantum-themes
|
qt-style-kvantum-themes
|
||||||
qt6ct
|
qt6ct
|
||||||
slurp
|
slurp
|
||||||
swappy
|
swappy
|
||||||
sway-notification-center
|
sway-notification-center
|
||||||
unzip
|
unzip
|
||||||
waybar
|
waybar
|
||||||
wget
|
wget
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
wlogout
|
wlogout
|
||||||
xdg-user-dirs
|
xdg-user-dirs
|
||||||
xdg-utils
|
xdg-utils
|
||||||
yad
|
yad
|
||||||
)
|
)
|
||||||
|
|
||||||
# the following packages can be deleted. however, dotfiles may not work properly
|
# the following packages can be deleted. however, dotfiles may not work properly
|
||||||
hypr_package_2=(
|
hypr_package_2=(
|
||||||
brightnessctl
|
brightnessctl
|
||||||
btop
|
btop
|
||||||
cava
|
cava
|
||||||
fastfetch
|
fastfetch
|
||||||
loupe
|
loupe
|
||||||
gnome-system-monitor
|
gnome-system-monitor
|
||||||
mousepad
|
mousepad
|
||||||
mpv
|
mpv
|
||||||
mpv-mpris
|
mpv-mpris
|
||||||
nwg-look
|
nwg-look
|
||||||
nwg-displays
|
nwg-displays
|
||||||
nvtop
|
nvtop
|
||||||
pamixer
|
pamixer
|
||||||
qalculate-gtk
|
qalculate-gtk
|
||||||
)
|
)
|
||||||
|
|
||||||
# packages to force reinstall
|
# packages to force reinstall
|
||||||
force=(
|
force=(
|
||||||
imagemagick
|
imagemagick
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
)
|
)
|
||||||
|
|
||||||
# List of packages to uninstall as it conflicts with swaync or causing swaync to not function properly
|
# List of packages to uninstall as it conflicts with swaync or causing swaync to not function properly
|
||||||
uninstall=(
|
uninstall=(
|
||||||
dunst
|
dunst
|
||||||
mako
|
mako
|
||||||
rofi
|
rofi
|
||||||
cargo
|
cargo
|
||||||
)
|
)
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
|
||||||
# Change the working directory to the parent directory of the script
|
# Change the working directory to the parent directory of the script
|
||||||
PARENT_DIR="$SCRIPT_DIR/.."
|
PARENT_DIR="$SCRIPT_DIR/.."
|
||||||
cd "$PARENT_DIR" || { echo "${ERROR} Failed to change directory to $PARENT_DIR"; exit 1; }
|
cd "$PARENT_DIR" || {
|
||||||
|
echo "${ERROR} Failed to change directory to $PARENT_DIR"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
# Source the global functions script
|
# Source the global functions script
|
||||||
if ! source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"; then
|
if ! source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"; then
|
||||||
echo "Failed to source Global_functions.sh"
|
echo "Failed to source Global_functions.sh"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set the name of the log file to include the current date and time
|
# Set the name of the log file to include the current date and time
|
||||||
@ -94,14 +97,14 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_hypr-pkgs.log"
|
|||||||
overall_failed=0
|
overall_failed=0
|
||||||
printf "\n%s - ${SKY_BLUE}Removing some packages${RESET} as it conflicts with KooL's Hyprland Dots \n" "${NOTE}"
|
printf "\n%s - ${SKY_BLUE}Removing some packages${RESET} as it conflicts with KooL's Hyprland Dots \n" "${NOTE}"
|
||||||
for PKG in "${uninstall[@]}"; do
|
for PKG in "${uninstall[@]}"; do
|
||||||
uninstall_package "$PKG" 2>&1 | tee -a "$LOG"
|
uninstall_package "$PKG" 2>&1 | tee -a "$LOG"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
overall_failed=1
|
overall_failed=1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ $overall_failed -ne 0 ]; then
|
if [ $overall_failed -ne 0 ]; then
|
||||||
echo -e "${ERROR} Some packages failed to uninstall. Please check the log."
|
echo -e "${ERROR} Some packages failed to uninstall. Please check the log."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n%.0s" {1..1}
|
printf "\n%.0s" {1..1}
|
||||||
@ -110,24 +113,24 @@ printf "\n%.0s" {1..1}
|
|||||||
printf "\n%s - Installing ${SKY_BLUE}KooL's hyprland necessary packages${RESET} .... \n" "${NOTE}"
|
printf "\n%s - Installing ${SKY_BLUE}KooL's hyprland necessary packages${RESET} .... \n" "${NOTE}"
|
||||||
|
|
||||||
for PKG1 in "${hypr_package[@]}" "${hypr_package_2[@]}" "${Extra[@]}"; do
|
for PKG1 in "${hypr_package[@]}" "${hypr_package_2[@]}" "${Extra[@]}"; do
|
||||||
install_package "$PKG1" "$LOG"
|
install_package "$PKG1" "$LOG"
|
||||||
done
|
done
|
||||||
|
|
||||||
printf "\n%.0s" {1..1}
|
printf "\n%.0s" {1..1}
|
||||||
|
|
||||||
for PKG2 in "${force[@]}"; do
|
for PKG2 in "${force[@]}"; do
|
||||||
re_install_package "$PKG2" "$LOG"
|
re_install_package "$PKG2" "$LOG"
|
||||||
done
|
done
|
||||||
|
|
||||||
printf "\n%.0s" {1..1}
|
printf "\n%.0s" {1..1}
|
||||||
# install YAD from assets. NOTE This is downloaded from SID repo and sometimes
|
# install YAD from assets. NOTE This is downloaded from SID repo and sometimes
|
||||||
# Trixie is removing YAD for some strange reasons
|
# Trixie is removing YAD for some strange reasons
|
||||||
# Check if yad is installed
|
# Check if yad is installed
|
||||||
if ! command -v yad &> /dev/null; then
|
if ! command -v yad &>/dev/null; then
|
||||||
echo "${INFO} Installing ${YELLOW}YAD from assets${RESET} ..."
|
echo "${INFO} Installing ${YELLOW}YAD from assets${RESET} ..."
|
||||||
sudo dpkg -i assets/yad_0.40.0-1+b2_amd64.deb
|
sudo dpkg -i assets/yad_0.40.0-1+b2_amd64.deb
|
||||||
sudo apt install -f -y
|
sudo apt install -f -y
|
||||||
echo "${INFO} ${YELLOW}YAD from assets${RESET} succesfully installed ..."
|
echo "${INFO} ${YELLOW}YAD from assets${RESET} succesfully installed ..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
@ -141,3 +144,4 @@ source "$HOME/.cargo/env"
|
|||||||
sudo chmod +s $(which brightnessctl) 2>&1 | tee -a "$LOG" || true
|
sudo chmod +s $(which brightnessctl) 2>&1 | tee -a "$LOG" || true
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user