install block
This commit is contained in:
+3
-3
@@ -88,7 +88,7 @@ say_yellow "Starting Chadwm setup..."
|
||||
|
||||
CURRENT_DE="$(detect_de)"
|
||||
CURRENT_DM="$(detect_display_manager)"
|
||||
REAL_USER=${SUDO_USER:-$(whoami)}
|
||||
USER=$(whoami)
|
||||
|
||||
if [[ -z "$CURRENT_DE" ]]; then
|
||||
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
|
||||
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"
|
||||
sudo make install
|
||||
@@ -114,7 +114,7 @@ if [[ -z "$CURRENT_DE" ]]; then
|
||||
[Desktop Entry]
|
||||
Name=chadwm
|
||||
Comment=dwm made beautiful
|
||||
Exec=/home/$REAL_USER/.config/chadwm/scripts/run.sh
|
||||
Exec=/home/$USER/.config/chadwm/scripts/run.sh
|
||||
Type=Application
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user