updatedquite possibly ready for testing?

This commit is contained in:
JaKooLit 2025-02-05 08:45:50 +09:00
parent 4baa3780d6
commit eef6cdd5a5
5 changed files with 8 additions and 12 deletions

View File

@ -24,6 +24,7 @@ hypr_package=(
pavucontrol pavucontrol
playerctl playerctl
polkit-kde-agent-1 polkit-kde-agent-1
pkexec
python3-requests python3-requests
python3-pip python3-pip
qt5ct qt5ct

View File

@ -30,7 +30,6 @@ while true; do
fi fi
if [[ $input_group_choid == "y" || $input_group_choid == "Y" ]]; then if [[ $input_group_choid == "y" || $input_group_choid == "Y" ]]; then
# Check if the 'input' group exists
if grep -q '^input:' /etc/group; then if grep -q '^input:' /etc/group; then
echo "${OK} ${MAGENTA}input${RESET} group exists." echo "${OK} ${MAGENTA}input${RESET} group exists."
else else
@ -40,16 +39,14 @@ while true; do
echo "${MAGENTA}input${RESET} group created" >> "$LOG" echo "${MAGENTA}input${RESET} group created" >> "$LOG"
fi fi
# Add the user to the input group
sudo usermod -aG input "$(whoami)" sudo usermod -aG input "$(whoami)"
echo "${OK} ${YELLOW}user${RESET} added to the ${MAGENTA}input${RESET} group. Changes will take effect after you log out and log back in." echo "${OK} ${YELLOW}user${RESET} added to the ${MAGENTA}input${RESET} group. Changes will take effect after you log out and log back in."
# Log the addition of the user to the 'input' group
echo "User added to 'input' group" >> "$LOG" echo "User added to 'input' group" >> "$LOG"
break # Break out of the loop if 'yes' is chosen break
elif [[ $input_group_choid == "n" || $input_group_choid == "N" ]]; then elif [[ $input_group_choid == "n" || $input_group_choid == "N" ]]; then
echo "${NOTE} No changes made. Exiting the script." echo "${NOTE} No changes made. Exiting the script."
break # Break out of the loop if 'no' is chosen break
else else
echo "${ERROR} Invalid choice. Please enter 'y' for yes or 'n' for no." echo "${ERROR} Invalid choice. Please enter 'y' for yes or 'n' for no."
fi fi

View File

@ -30,4 +30,4 @@ else
fi fi
fi fi
clear printf "\n%.0s" {1..2}

View File

@ -68,4 +68,4 @@ install_and_log "asusctl" "https://gitlab.com/asus-linux/asusctl.git"
# Download and build supergfxctl # Download and build supergfxctl
install_and_log "supergfxctl" "https://gitlab.com/asus-linux/supergfxctl.git" install_and_log "supergfxctl" "https://gitlab.com/asus-linux/supergfxctl.git"
clear printf "\n%.0s" {1..2}

View File

@ -8,11 +8,9 @@ sddm1=(
) )
sddm2=( sddm2=(
qml-module-qtgraphicaleffects qml6-module-qt5compat-graphicaleffects
qml-module-qtquick-controls qt6-declarative-dev
qml-module-qtquick-controls2 qt6-svg-dev
qml-module-qtquick-extras
qml-module-qtquick-layouts
) )
## 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! ##