Adding qt5-quickcontrols2 to sddm.sh
A user reported in CachyOS this missing package prevented Hyprland from starting via SDDM with simple_sddm_2 theme Standard SDDM theme worked on. Adding this pkg also resolved issue On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: sddm.sh
This commit is contained in:
@@ -7,6 +7,7 @@ sddm=(
|
|||||||
qt6-svg
|
qt6-svg
|
||||||
qt6-virtualkeyboard
|
qt6-virtualkeyboard
|
||||||
qt6-multimedia-ffmpeg
|
qt6-multimedia-ffmpeg
|
||||||
|
qt5-quickcontrols2
|
||||||
sddm
|
sddm
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -24,7 +25,10 @@ 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
|
||||||
@@ -32,12 +36,9 @@ if ! source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"; then
|
|||||||
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
|
||||||
LOG="Install-Logs/install-$(date +%d-%H%M%S)_sddm.log"
|
LOG="Install-Logs/install-$(date +%d-%H%M%S)_sddm.log"
|
||||||
|
|
||||||
|
|
||||||
# Install SDDM and SDDM theme
|
# Install SDDM and SDDM theme
|
||||||
printf "${NOTE} Installing sddm and dependencies........\n"
|
printf "${NOTE} Installing sddm and dependencies........\n"
|
||||||
for package in "${sddm[@]}"; do
|
for package in "${sddm[@]}"; do
|
||||||
@@ -67,6 +68,10 @@ printf "${INFO} Activating sddm service........\n"
|
|||||||
sudo systemctl enable sddm
|
sudo systemctl enable sddm
|
||||||
|
|
||||||
wayland_sessions_dir=/usr/share/wayland-sessions
|
wayland_sessions_dir=/usr/share/wayland-sessions
|
||||||
[ ! -d "$wayland_sessions_dir" ] && { printf "$CAT - $wayland_sessions_dir not found, creating...\n"; sudo mkdir "$wayland_sessions_dir" 2>&1 | tee -a "$LOG"; }
|
[ ! -d "$wayland_sessions_dir" ] && {
|
||||||
|
printf "$CAT - $wayland_sessions_dir not found, creating...\n"
|
||||||
|
sudo mkdir "$wayland_sessions_dir" 2>&1 | tee -a "$LOG"
|
||||||
|
}
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user