chadwm arch
This commit is contained in:
+11
-5
@@ -84,18 +84,24 @@ enable_graphical_target() {
|
|||||||
#########################
|
#########################
|
||||||
# Start installation
|
# Start installation
|
||||||
##########################
|
##########################
|
||||||
say_yellow "Starting Niri setup..."
|
say_yellow "Starting Chadwm setup..."
|
||||||
|
|
||||||
CURRENT_DE="$(detect_de)"
|
CURRENT_DE="$(detect_de)"
|
||||||
CURRENT_DM="$(detect_display_manager)"
|
CURRENT_DM="$(detect_display_manager)"
|
||||||
|
|
||||||
if [[ -z "$CURRENT_DE" ]]; then
|
if [[ -z "$CURRENT_DE" ]]; then
|
||||||
say_cyan -e "No Desktop Environment detected. Installing Niri (light setup with SDDM)..."
|
say_cyan -e "No Desktop Environment detected. Installing Chadwm (light setup with SDDM)..."
|
||||||
|
|
||||||
install_packages sddm niri noctalia-shell fuzzel swaybg xwayland-satellite swaylock
|
install_packages sddm picom feh acpi rofi dash imlib2 xsetroot
|
||||||
enable_graphical_target
|
enable_graphical_target
|
||||||
|
|
||||||
say_green -e "Niri with SDDM installed successfully. You can reboot now to start Niri."
|
git clone https://github.com/siduck/chadwm --depth 1 ~/.config/chadwm
|
||||||
|
cd ~/.config/chadwm/
|
||||||
|
mv eww ~/.config
|
||||||
|
cd chadwm
|
||||||
|
sudo make install
|
||||||
|
|
||||||
|
say_green -e "Chadwm with SDDM installed successfully. You can reboot now to start Chadwm."
|
||||||
else
|
else
|
||||||
say_cyan -e "Detected existing Desktop Environment: $CURRENT_DE"
|
say_cyan -e "Detected existing Desktop Environment: $CURRENT_DE"
|
||||||
|
|
||||||
@@ -115,4 +121,4 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# End of script
|
# End of script
|
||||||
say_green -e "Niri / SDDM setup completed."
|
say_green -e "Chadwm / SDDM setup completed."
|
||||||
Reference in New Issue
Block a user