Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
759f8236f1
|
|||
51017c4789
|
|||
9fafba1f67 | |||
1bb3f828fe
|
|||
76618b8ffe
|
|||
b0accd6320
|
|||
186c4cc944 | |||
36b3def4df | |||
bff662b2bb | |||
6a830fd09e | |||
f1a229a2b2 | |||
8163c1574f |
@@ -32,4 +32,5 @@ echo "Configured accountsservice" >> "${LOGFILE}"
|
|||||||
configure_displaymanager
|
configure_displaymanager
|
||||||
echo "Configured displaymanager" >> "${LOGFILE}"
|
echo "Configured displaymanager" >> "${LOGFILE}"
|
||||||
|
|
||||||
|
configure_branding
|
||||||
|
echo "Configured branding" >> "${LOGFILE}"
|
||||||
|
@@ -12,23 +12,24 @@ src=/usr/share/applications
|
|||||||
# $xdg/org.kde.konversation.desktop
|
# $xdg/org.kde.konversation.desktop
|
||||||
# fi
|
# fi
|
||||||
|
|
||||||
# if [[ -f /usr/bin/calamares ]]; then
|
if [[ -f /usr/bin/calamares ]]; then
|
||||||
# cp $src/calamares.desktop \
|
sed -i s/Icon.*=calamares/Icon=artixlinux-logo/g $src/calamares.desktop
|
||||||
# $xdg/calamares.desktop
|
cp -f $src/calamares.desktop "$xdg/"
|
||||||
# fi
|
chmod +x "$xdg/calamares.desktop"
|
||||||
|
fi
|
||||||
|
|
||||||
docs=/usr/share/doc/artix
|
docs=/usr/share/doc/artix
|
||||||
|
|
||||||
for f in {Configuration,Troubleshooting}.pdf;do
|
for f in {Configuration,Troubleshooting}.pdf; do
|
||||||
ln -s $docs/$f $xdg/$f
|
ln -s $docs/$f "$xdg"/$f
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ -d /run/openrc ]];then
|
if [[ -d /run/openrc ]]; then
|
||||||
ln -s $docs/OpenRC.pdf $xdg/OpenRC.pdf
|
ln -s $docs/OpenRC.pdf "$xdg"/OpenRC.pdf
|
||||||
elif [[ -d /run/runit ]];then
|
elif [[ -d /run/runit ]]; then
|
||||||
ln -s $docs/Runit.pdf $xdg/Runit.pdf
|
ln -s $docs/Runit.pdf "$xdg"/Runit.pdf
|
||||||
else
|
else
|
||||||
ln -s $docs/S6.pdf $xdg/S6.pdf
|
ln -s $docs/S6.pdf "$xdg"/S6.pdf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "live session details: /var/log/artix-live.log" > $xdg/README.txt
|
echo "live session details: /var/log/artix-live.log" > "$xdg"/README.txt
|
||||||
|
@@ -7,6 +7,7 @@ pekwm:pekwm
|
|||||||
enlightenment:enlightenment_start
|
enlightenment:enlightenment_start
|
||||||
Lumina-DE:start-lumina-desktop
|
Lumina-DE:start-lumina-desktop
|
||||||
LXDE:lxsession
|
LXDE:lxsession
|
||||||
|
plasma:startkde
|
||||||
lxqt:lxqt-session
|
lxqt:lxqt-session
|
||||||
pantheon:pantheon-session
|
pantheon:pantheon-session
|
||||||
budgie-desktop:budgie-desktop
|
budgie-desktop:budgie-desktop
|
||||||
@@ -15,4 +16,3 @@ mate:mate-session
|
|||||||
cinnamon:cinnamon-session-cinnamon
|
cinnamon:cinnamon-session-cinnamon
|
||||||
xfce:startxfce4
|
xfce:startxfce4
|
||||||
gnome:gnome-session
|
gnome:gnome-session
|
||||||
plasma:startkde
|
|
||||||
|
@@ -1 +0,0 @@
|
|||||||
haveged
|
|
@@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/execlineb -P
|
#!/usr/bin/execlineb -P
|
||||||
|
foreground { mkdir -p /etc/pacman.d/gnupg }
|
||||||
foreground { mount -t tmpfs -o size=10M,mode=0755 tmpfs /etc/pacman.d/gnupg }
|
foreground { mount -t tmpfs -o size=10M,mode=0755 tmpfs /etc/pacman.d/gnupg }
|
||||||
fdmove -c 2 1
|
fdmove -c 2 1
|
||||||
foreground { pacman-key --init }
|
foreground { pacman-key --init }
|
||||||
|
@@ -244,6 +244,12 @@ configure_swap(){
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configure_branding(){
|
||||||
|
if [[ -f /usr/bin/neofetch ]]; then
|
||||||
|
neofetch >| /etc/issue
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
configure_user(){
|
configure_user(){
|
||||||
local user="$1"
|
local user="$1"
|
||||||
if [[ "$user" == 'root' ]];then
|
if [[ "$user" == 'root' ]];then
|
||||||
|
Reference in New Issue
Block a user