adding wlogout

replacing swaybg with swww
This commit is contained in:
nevaforget committed 2024-02-27 20:09:32 +01:00
1 parent 2a757abe73
commit 1e08d1c98a
3 files changed
+87 -3

No files matched your search

+5 -3
View File
@@ -169,7 +169,7 @@ function post_always {
echo " "
echo "-"
echo "Running post installations steps"
echo "Running updatedb"
sudo updatedb
echo " "
echo " "
@@ -382,12 +382,14 @@ function inst_hypr {
read confirm_hypr
if [[ $confirm_hypr == "Y" ]];
then
declare -a pkg_list=(wayland xorg-xwayland hyprland swaybg waypaper-git xdg-desktop-portal-hyprland wdisplays waybar nwg-look cliphist swaylock-effects)
declare -a pkg_list=(wayland xorg-xwayland hyprland swaybg waypaper-git xdg-desktop-portal-hyprland wdisplays waybar nwg-look cliphist swaylock-effects wlogout)
for key in "${pkg_list[@]}"
do
pkg_inst $key
done
sudo cp -Rf $MOONARCH_DIR/etc/wlogout /etc/
cp -Rf $MOONARCH_DIR/home/config/hypr $HOME/.config/hypr
chown $USER:$USER $HOME/.config/hypr
cp -Rf $MOONARCH_DIR/home/config/waybar $HOME/.config/waybar
@@ -400,7 +402,7 @@ function inst_hypr {
cp -Rf $MOONARCH_DIR/home/config/waypaper $HOME/.config/waypaper
chown -R $USER:$USER $HOME/.config/waypaper
sed -i "s|USERNAME|${USER}|g" $HOME/.config/waypaper/config.ini
swaybg -i $WALLPAPER_DIR/MonarchOS.png -m fill
swww img $WALLPAPER_DIR/MonarchOS.png
fi
}