install block

This commit is contained in:
2026-05-13 23:18:25 +02:00
parent 3e6685c542
commit 6fe8f874f8
+3 -3
View File
@@ -88,7 +88,7 @@ say_yellow "Starting Chadwm setup..."
CURRENT_DE="$(detect_de)" CURRENT_DE="$(detect_de)"
CURRENT_DM="$(detect_display_manager)" CURRENT_DM="$(detect_display_manager)"
REAL_USER=${SUDO_USER:-$(whoami)} USER=$(whoami)
if [[ -z "$CURRENT_DE" ]]; then if [[ -z "$CURRENT_DE" ]]; then
say_cyan -e "No Desktop Environment detected. Installing Chadwm (light setup with SDDM)..." say_cyan -e "No Desktop Environment detected. Installing Chadwm (light setup with SDDM)..."
@@ -96,7 +96,7 @@ if [[ -z "$CURRENT_DE" ]]; then
install_packages sddm picom feh acpi rofi dash imlib2 xsetroot install_packages sddm picom feh acpi rofi dash imlib2 xsetroot
enable_graphical_target enable_graphical_target
git clone https://github.com/siduck/chadwm --depth 1 "/home/$REAL_USER/.config/chadwm" git clone https://github.com/siduck/chadwm --depth 1 "/home/$USER/.config/chadwm"
cd "/home/$REAL_USER/.config/chadwm/chadwm" cd "/home/$REAL_USER/.config/chadwm/chadwm"
sudo make install sudo make install
@@ -114,7 +114,7 @@ if [[ -z "$CURRENT_DE" ]]; then
[Desktop Entry] [Desktop Entry]
Name=chadwm Name=chadwm
Comment=dwm made beautiful Comment=dwm made beautiful
Exec=/home/$REAL_USER/.config/chadwm/scripts/run.sh Exec=/home/$USER/.config/chadwm/scripts/run.sh
Type=Application Type=Application
EOF EOF