Compare commits

..

5 Commits

Author SHA1 Message Date
JaKooLit
776c2d8745 updated README and install.sh on switching to SDDM 2025-03-11 12:06:04 +09:00
JaKooLit
5afafd3baa updated global function 2025-03-11 11:50:33 +09:00
JaKooLit
55318aaf47 see if this helps 2025-03-11 11:27:35 +09:00
JaKooLit
547454d9c8 updated 2025-03-11 11:15:31 +09:00
JaKooLit
1430357aa5 update readme 2025-03-11 11:05:25 +09:00
5 changed files with 17 additions and 3 deletions

View File

@ -126,6 +126,7 @@ sudo nano /etc/apt/sources.list
## ✨ Auto clone and install ## ✨ Auto clone and install
- you can use this command to automatically clone the installer and ran the script for you - you can use this command to automatically clone the installer and ran the script for you
- NOTE: `curl` package is required before running this command
```bash ```bash
sh <(curl -L https://raw.githubusercontent.com/JaKooLit/Debian-Hyprland/main/auto-install.sh) sh <(curl -L https://raw.githubusercontent.com/JaKooLit/Debian-Hyprland/main/auto-install.sh)
``` ```
@ -245,6 +246,17 @@ env = GBM_BACKEND,nvidia-drm
env = WLR_RENDERER_ALLOW_SOFTWARE,1 env = WLR_RENDERER_ALLOW_SOFTWARE,1
``` ```
### 🚩 changing login manager to SDDM
- if you really want to change login manager, there are couple of things you need to carry out before running this install script
- first install sddm. the no-install-recommends is suggested else it will pull lots of plasma depencies.
```bash
sudo apt install --no-install-recommends -y sddm
```
- then ran `sudo dpkg-reconfigure sddm` choose sddm and then reboot.
- once reboot done, you can ran the script and choose sddm & sddm theme
- [LINK](https://www.simplified.guide/ubuntu/switch-to-gdm) for some guide
#### 🫥 Improving performance for Older Nvidia Cards using driver 470 #### 🫥 Improving performance for Older Nvidia Cards using driver 470
- [`SEE HERE`](https://github.com/JaKooLit/Hyprland-Dots/discussions/123#discussion-6035205) - [`SEE HERE`](https://github.com/JaKooLit/Hyprland-Dots/discussions/123#discussion-6035205)

View File

@ -71,7 +71,7 @@ install_package() {
build_dep() { build_dep() {
echo -e "${INFO} building dependencies for ${MAGENTA}$1${RESET} " echo -e "${INFO} building dependencies for ${MAGENTA}$1${RESET} "
( (
stdbuf -oL sudo build-dep -y "$1" 2>&1 stdbuf -oL sudo apt build-dep -y "$1" 2>&1
) >> "$LOG" 2>&1 & ) >> "$LOG" 2>&1 &
PID=$! PID=$!
show_progress $PID "$1" show_progress $PID "$1"

View File

@ -8,6 +8,7 @@ rofi=(
pandoc pandoc
doxygen doxygen
cppcheck cppcheck
imagemagick
libmpdclient-dev libmpdclient-dev
libnl-3-dev libnl-3-dev
libasound2-dev libasound2-dev

View File

@ -69,7 +69,8 @@ done
printf "\n%.0s" {1..1} printf "\n%.0s" {1..1}
printf "${INFO} Activating sddm service........\n" printf "${INFO} Activating sddm service........\n"
sudo systemctl enable sddm sudo systemctl set-default graphical.target 2>&1 | tee -a "$LOG"
sudo systemctl enable sddm.service 2>&1 | tee -a "$LOG"
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 -p "$wayland_sessions_dir" 2>&1 | tee -a "$LOG"; } [ ! -d "$wayland_sessions_dir" ] && { printf "$CAT - $wayland_sessions_dir not found, creating...\n"; sudo mkdir -p "$wayland_sessions_dir" 2>&1 | tee -a "$LOG"; }

View File

@ -169,7 +169,7 @@ if check_services_running; then
# Display the active login manager(s) in the whiptail message box # Display the active login manager(s) in the whiptail message box
whiptail --title "Active non-SDDM login manager(s) detected" \ 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 first before running this script\n\nYour option to install SDDM and SDDM theme has now been removed\n\n😎 Ja " 22 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 fi
# Check if NVIDIA GPU is detected # Check if NVIDIA GPU is detected