mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-09-01 22:47:23 -04:00
Fixed xcaffeine autostart + home directory permissions
This commit is contained in:
+5
-4
@@ -113,19 +113,20 @@ if [ "$formfactor" == 2 ]; then
|
|||||||
' > /etc/udev/rules.d/screenbacklight.rules
|
' > /etc/udev/rules.d/screenbacklight.rules
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# setting home directory permissions
|
|
||||||
chmod -R 700 /home
|
|
||||||
|
|
||||||
# installing desktop environment and addons + utilities
|
# installing desktop environment and addons + utilities
|
||||||
if [ "$formfactor" -lt 4 ]; then
|
if [ "$formfactor" -lt 4 ]; then
|
||||||
pacman -S xorg pipewire pipewire-pulse pipewire-jack pipewire-alsa libpulse plasma-desktop lightdm-openrc lightdm-gtk-greeter kscreen kdeplasma-addons spectacle gwenview plasma-nm plasma-pa breeze-gtk kde-gtk-config kio-extras khotkeys kwalletmanager pcmanfm-qt yakuake ark kate micro bluedevil bluez-openrc --needed --noconfirm
|
pacman -S xorg pipewire pipewire-pulse pipewire-jack pipewire-alsa libpulse plasma-desktop lightdm-openrc lightdm-gtk-greeter kscreen kdeplasma-addons spectacle gwenview plasma-nm plasma-pa breeze-gtk kde-gtk-config kio-extras khotkeys kwalletmanager pcmanfm-qt yakuake ark kate micro bluedevil bluez-openrc --needed --noconfirm
|
||||||
rc-update add lightdm
|
rc-update add lightdm
|
||||||
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/xcaffeine/xcaffeine.py -o /usr/bin/xcaffeine.py
|
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/xcaffeine/xcaffeine.py -o /usr/bin/xcaffeine.py
|
||||||
chmod 755 /usr/bin/xcaffeine.py
|
chmod 755 /usr/bin/xcaffeine.py
|
||||||
|
mkdir -p /home/"$username"/.config/autostart/
|
||||||
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/xcaffeine/xcaffeine.desktop -o /home/"$username"/.config/autostart/xcaffeine.desktop
|
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/xcaffeine/xcaffeine.desktop -o /home/"$username"/.config/autostart/xcaffeine.desktop
|
||||||
chmod 644 /home/"$username"/.config/autostart/xcaffeine.desktop
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# setting home directory permissions
|
||||||
|
chmod -R 700 /home
|
||||||
|
chown -R "$username":users /home/"$username"
|
||||||
|
|
||||||
# installing and configuring basic software packages
|
# installing and configuring basic software packages
|
||||||
if [ "$formfactor" == 4 ]; then
|
if [ "$formfactor" == 4 ]; then
|
||||||
pacman -S openssh --needed --noconfirm
|
pacman -S openssh --needed --noconfirm
|
||||||
|
|||||||
Reference in New Issue
Block a user