register as a .desktop file
This commit is contained in:
parent
aa7d12ed1f
commit
79328c0187
@ -141,10 +141,12 @@ setup () {
|
|||||||
arch-chroot /mnt systemctl enable lightdm
|
arch-chroot /mnt systemctl enable lightdm
|
||||||
|
|
||||||
curl https://git.thomaspcole.com/thomascole/AALI/raw/branch/master/firstboot.sh > /mnt/home/clc/firstboot.sh
|
curl https://git.thomaspcole.com/thomascole/AALI/raw/branch/master/firstboot.sh > /mnt/home/clc/firstboot.sh
|
||||||
|
curl https://git.thomaspcole.com/thomascole/AALI/raw/branch/master/fb.desktop > /mnt/home/clc/.config/autostart/fb.desktop
|
||||||
|
|
||||||
chmod +x /mnt/home/clc/firstboot.sh
|
chmod +x /mnt/home/clc/firstboot.sh
|
||||||
|
chmod +x /mnt/home/clc/.config/autostart/fb.desktop
|
||||||
|
|
||||||
echo "bash /home/clc/firstboot.sh" >> /mnt/home/clc/.bash_profile
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
######################################################################################
|
######################################################################################
|
||||||
|
7
fb.desktop
Normal file
7
fb.desktop
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=firstboot
|
||||||
|
Comment=
|
||||||
|
Exec=/home/clc/firstboot.sh
|
||||||
|
Icon=
|
||||||
|
Terminal=true
|
||||||
|
Type=Application
|
@ -1,8 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
sleep 10
|
echo "Running firstboot script..."
|
||||||
|
sleep 3
|
||||||
notify-send -t 3 "RUNNING FIRST TIME CONFIG"
|
|
||||||
|
|
||||||
xfconf-query -c xsettings -p /Net/ThemeName -s "Arc-Darker"
|
xfconf-query -c xsettings -p /Net/ThemeName -s "Arc-Darker"
|
||||||
xfconf-query -c xsettings -p /Gtk/FontName -s "Noto Sans Regular 10"
|
xfconf-query -c xsettings -p /Gtk/FontName -s "Noto Sans Regular 10"
|
||||||
|
Loading…
Reference in New Issue
Block a user