mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
Compare commits
No commits in common. "1252bea27b675431a99faec93d799fbf1d79c42c" and "6cdf38afb4a8863646e1a0d535ad7db9a73d5718" have entirely different histories.
1252bea27b
...
6cdf38afb4
@ -2,7 +2,6 @@
|
||||
|
||||
## 11 March 2025
|
||||
- Added uninstall script
|
||||
- forked AGS v1 into JakooLit repo. This is just incase Aylur decide to take down v1
|
||||
|
||||
## 10 March 2025
|
||||
- Dropped pyprland in favor of hyprland built in tool for a drop down like terminal and Desktop magnifier
|
||||
|
||||
@ -31,7 +31,6 @@ dependencies=(
|
||||
python3-pyquery
|
||||
qt6-base-dev
|
||||
spirv-tools
|
||||
unzip
|
||||
vulkan-validationlayers
|
||||
vulkan-utility-libraries-dev
|
||||
wayland-protocols
|
||||
|
||||
@ -10,68 +10,68 @@ Extra=(
|
||||
|
||||
)
|
||||
|
||||
# packages needed
|
||||
hypr_package=(
|
||||
cliphist
|
||||
grim
|
||||
gvfs
|
||||
gvfs-backends
|
||||
inxi
|
||||
imagemagick
|
||||
kitty
|
||||
nano
|
||||
pavucontrol
|
||||
playerctl
|
||||
polkit-kde-agent-1
|
||||
python3-requests
|
||||
python3-pip
|
||||
qt5ct
|
||||
qt5-style-kvantum
|
||||
qt5-style-kvantum-themes
|
||||
qt6ct
|
||||
slurp
|
||||
swappy
|
||||
sway-notification-center
|
||||
unzip
|
||||
waybar
|
||||
wget
|
||||
wl-clipboard
|
||||
wlogout
|
||||
xdg-user-dirs
|
||||
xdg-utils
|
||||
yad
|
||||
# packages neeeded
|
||||
hypr_package=(
|
||||
cliphist
|
||||
grim
|
||||
gvfs
|
||||
gvfs-backends
|
||||
inxi
|
||||
imagemagick
|
||||
kitty
|
||||
nano
|
||||
pavucontrol
|
||||
playerctl
|
||||
polkit-kde-agent-1
|
||||
pkexec
|
||||
python3-requests
|
||||
python3-pip
|
||||
qt5ct
|
||||
qt5-style-kvantum
|
||||
qt5-style-kvantum-themes
|
||||
qt6ct
|
||||
slurp
|
||||
sway-notification-center
|
||||
swappy
|
||||
unzip # required later
|
||||
waybar
|
||||
wget
|
||||
wl-clipboard
|
||||
wlogout
|
||||
xdg-user-dirs
|
||||
xdg-utils
|
||||
yad
|
||||
)
|
||||
|
||||
# the following packages can be deleted. however, dotfiles may not work properly
|
||||
hypr_package_2=(
|
||||
brightnessctl
|
||||
btop
|
||||
cava
|
||||
fastfetch
|
||||
loupe
|
||||
gnome-system-monitor
|
||||
mousepad
|
||||
mpv
|
||||
mpv-mpris
|
||||
nwg-look
|
||||
nwg-displays
|
||||
nvtop
|
||||
pamixer
|
||||
qalculate-gtk
|
||||
)
|
||||
|
||||
# packages to force reinstall
|
||||
force=(
|
||||
imagemagick
|
||||
wayland-protocols
|
||||
brightnessctl
|
||||
btop
|
||||
cava
|
||||
loupe
|
||||
nwg-look
|
||||
nwg-displays
|
||||
fastfetch
|
||||
gnome-system-monitor
|
||||
mousepad
|
||||
mpv
|
||||
mpv-mpris
|
||||
nvtop
|
||||
pamixer
|
||||
qalculate-gtk
|
||||
)
|
||||
|
||||
# List of packages to uninstall as it conflicts with swaync or causing swaync to not function properly
|
||||
uninstall=(
|
||||
dunst
|
||||
mako
|
||||
rofi
|
||||
cargo
|
||||
dunst
|
||||
mako
|
||||
rofi
|
||||
cargo
|
||||
)
|
||||
|
||||
# List packages to force reinstall
|
||||
force=(
|
||||
yad
|
||||
)
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
@ -106,6 +106,7 @@ fi
|
||||
|
||||
printf "\n%.0s" {1..1}
|
||||
|
||||
|
||||
# Installation of main components
|
||||
printf "\n%s - Installing ${SKY_BLUE}KooL's hyprland necessary packages${RESET} .... \n" "${NOTE}"
|
||||
|
||||
@ -113,13 +114,12 @@ for PKG1 in "${hypr_package[@]}" "${hypr_package_2[@]}" "${Extra[@]}"; do
|
||||
install_package "$PKG1" "$LOG"
|
||||
done
|
||||
|
||||
printf "\n%.0s" {1..1}
|
||||
|
||||
for PKG2 in "${force[@]}"; do
|
||||
re_install_package "$PKG2" "$LOG"
|
||||
done
|
||||
|
||||
printf "\n%.0s" {1..1}
|
||||
|
||||
# install YAD from assets. NOTE This is downloaded from SID repo and sometimes
|
||||
# Trixie is removing YAD for some strange reasons
|
||||
# Check if yad is installed
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
# This script is cleaning up previous manual installation files / directories
|
||||
|
||||
# 22 Aug 2024
|
||||
# Files to be removed from /usr/local/bin
|
||||
# Files to be removed rom /usr/local/bin
|
||||
|
||||
TARGET_DIR="/usr/local/bin"
|
||||
|
||||
@ -46,9 +46,7 @@ for PKG_NAME in "${PACKAGES[@]}"; do
|
||||
# Delete the file
|
||||
sudo rm "$FILE_PATH"
|
||||
echo "Deleted: $FILE_PATH" 2>&1 | tee -a "$LOG"
|
||||
else
|
||||
echo "File not found: $FILE_PATH" 2>&1 | tee -a "$LOG"
|
||||
fi
|
||||
done
|
||||
|
||||
clear
|
||||
printf "\n%.0s" {1..2}
|
||||
@ -49,7 +49,6 @@ if command -v ags &>/dev/null; then
|
||||
AGS_VERSION=$(ags -v | awk '{print $NF}')
|
||||
if [[ "$AGS_VERSION" == "1.9.0" ]]; then
|
||||
printf "${INFO} ${MAGENTA}Aylur's GTK Shell v1.9.0${RESET} is already installed. Skipping installation."
|
||||
printf "\n%.0s" {1..2}
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
@ -75,8 +74,8 @@ done
|
||||
#install typescript by npm
|
||||
sudo npm install --global typescript 2>&1 | tee -a "$LOG"
|
||||
|
||||
# ags v1
|
||||
printf "${NOTE} Install and Compiling ${SKY_BLUE}Aylur's GTK shell $ags_tag${RESET}..\n"
|
||||
# ags
|
||||
printf "${INFO} Install and Compiling ${SKY_BLUE}Aylur's GTK shell $ags_tag${RESET} .. \n"
|
||||
|
||||
# Check if folder exists and remove it
|
||||
if [ -d "ags" ]; then
|
||||
@ -84,24 +83,23 @@ if [ -d "ags" ]; then
|
||||
rm -rf "ags"
|
||||
fi
|
||||
|
||||
printf "\n%.0s" {1..1}
|
||||
printf "${INFO} Kindly Standby...cloning and compiling ${SKY_BLUE}Aylur's GTK shell $ags_tag${RESET}...\n"
|
||||
printf "\n%.0s" {1..1}
|
||||
# Clone repository with the specified tag and capture git output into MLOG
|
||||
if git clone --depth=1 https://github.com/JaKooLit/ags_v1.9.0.git; then
|
||||
cd ags_v1.9.0 || exit 1
|
||||
npm install
|
||||
meson setup build
|
||||
if sudo meson install -C build 2>&1 | tee -a "$MLOG"; then
|
||||
printf "\n${OK} ${YELLOW}Aylur's GTK shell $ags_tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||
else
|
||||
echo -e "\n${ERROR} ${YELLOW}Aylur's GTK shell $ags_tag${RESET} Installation failed\n " 2>&1 | tee -a "$MLOG"
|
||||
fi
|
||||
# Clone nwg-look repository with the specified tag
|
||||
if git clone --recursive -b "$ags_tag" --depth=1 https://github.com/Aylur/ags.git; then
|
||||
cd ags || exit 1
|
||||
# Build and install ags
|
||||
npm install
|
||||
meson setup build
|
||||
if sudo meson install -C build 2>&1 | tee -a "$MLOG"; then
|
||||
printf "${OK} ${YELLOW}Aylur's GTK shell $ags_tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||
else
|
||||
echo -e "${ERROR} Installation failed for ${YELLOW}Aylur's GTK shell $ags_tag${RESET}" 2>&1 | tee -a "$MLOG"
|
||||
fi
|
||||
|
||||
# Move logs to Install-Logs directory
|
||||
mv "$MLOG" ../Install-Logs/ || true
|
||||
cd ..
|
||||
else
|
||||
echo -e "\n${ERROR} Failed to download ${YELLOW}Aylur's GTK shell $ags_tag${RESET} Please check your connection\n" 2>&1 | tee -a "$LOG"
|
||||
echo -e "${ERROR} Failed to download ${YELLOW}Aylur's GTK shell $ags_tag${RESET} . Please check your connection" 2>&1 | tee -a "$LOG"
|
||||
mv "$MLOG" ../Install-Logs/ || true
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@ -3,8 +3,10 @@
|
||||
# Main Hyprland Package #
|
||||
|
||||
hypr=(
|
||||
hyprland-protocols
|
||||
libhyprutils0
|
||||
libhyprlang-dev
|
||||
hyprwayland-scanner
|
||||
hyprland-protocols
|
||||
)
|
||||
|
||||
# forcing to reinstall. Had experience it says hyprland is already installed
|
||||
@ -28,7 +30,6 @@ fi
|
||||
# Set the name of the log file to include the current date and time
|
||||
LOG="Install-Logs/install-$(date +%d-%H%M%S)_hyprland.log"
|
||||
|
||||
|
||||
# Hyprland
|
||||
printf "${NOTE} Installing ${SKY_BLUE}Hyprland packages${RESET} .......\n"
|
||||
for HYPR in "${hypr[@]}"; do
|
||||
|
||||
@ -8,7 +8,6 @@ sddm1=(
|
||||
)
|
||||
|
||||
sddm2=(
|
||||
qt6-5compat-dev
|
||||
qml6-module-qt5compat-graphicaleffects
|
||||
qt6-declarative-dev
|
||||
qt6-svg-dev
|
||||
|
||||
@ -110,7 +110,8 @@ if git clone --depth=1 "$source_theme" "$theme_name"; then
|
||||
echo "Failed to copy fonts."
|
||||
fi
|
||||
|
||||
fc-cache -fv 2>&1 | tee -a "$LOG"
|
||||
# Update font cache and log the output
|
||||
fc-cache -v -f 2>&1 | tee -a "$LOG"
|
||||
|
||||
printf "\n%.0s" {1..1}
|
||||
|
||||
|
||||
@ -46,4 +46,4 @@ for DIR1 in gtk-3.0 Thunar xfce4; do
|
||||
fi
|
||||
done
|
||||
|
||||
printf "\n%.0s" {1..2}
|
||||
printf "\n%.0s" {1..2}
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
wallust=(
|
||||
wallust
|
||||
)
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
@ -60,4 +61,4 @@ else
|
||||
fi
|
||||
|
||||
|
||||
printf "\n%.0s" {1..2}
|
||||
printf "\n%.0s" {1..2}
|
||||
|
||||
@ -3,10 +3,10 @@
|
||||
# Zsh and Oh my Zsh + Optional Pokemon ColorScripts#
|
||||
|
||||
zsh=(
|
||||
lsd
|
||||
zsh
|
||||
mercurial
|
||||
zplug
|
||||
lsd
|
||||
mercurial
|
||||
zsh
|
||||
zplug
|
||||
)
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
|
||||
@ -18,6 +18,7 @@ fi
|
||||
# Set the name of the log file to include the current date and time
|
||||
LOG="Install-Logs/install-$(date +%d-%H%M%S)_zsh_pokemon.log"
|
||||
|
||||
|
||||
printf "${INFO} Installing ${SKY_BLUE}Pokemon color scripts${RESET} ..."
|
||||
|
||||
if [ -d "pokemon-colorscripts" ]; then
|
||||
@ -33,6 +34,7 @@ if [ -f "$HOME/.zshrc" ]; then
|
||||
sed -i "s|^fastfetch -c \$HOME/.config/fastfetch/config-compact.jsonc|#fastfetch -c \$HOME/.config/fastfetch/config-compact.jsonc|" "$HOME/.zshrc" >> "$LOG" 2>&1
|
||||
else
|
||||
echo "$HOME/.zshrc not found. Cant enable ${YELLOW}Pokemon color scripts${RESET}" >> "$LOG" 2>&1
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
printf "\n%.0s" {1..2}
|
||||
|
||||
@ -169,7 +169,7 @@ if check_services_running; then
|
||||
|
||||
# Display the active login manager(s) in the whiptail message box
|
||||
whiptail --title "Active non-SDDM login manager(s) detected" \
|
||||
--msgbox "The following login manager(s) are active:\n\n$active_list\n\nIf you want to install SDDM and SDDM theme, stop and disable first the active services above, and reboot before running this script\nRefer to README on switching to SDDM if you really want SDDM\n\nNOTE: Your option to install SDDM and SDDM theme has now been removed\n\n- Ja " 28 80
|
||||
--msgbox "The following login manager(s) are active:\n\n$active_list\n\nIf you want to install SDDM and SDDM theme, stop and disable first the active services above first before running this script\nRefer to README on switching to SDDM if you really want SDDM\n\nNOTE: Your option to install SDDM and SDDM theme has now been removed\n\n😎 Ja " 27 80
|
||||
fi
|
||||
|
||||
# Check if NVIDIA GPU is detected
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user