register as a .desktop file

This commit is contained in:
Thomas Cole 2021-07-07 08:50:57 -04:00
parent aa7d12ed1f
commit 79328c0187
3 changed files with 12 additions and 4 deletions

View File

@ -141,10 +141,12 @@ setup () {
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/fb.desktop > /mnt/home/clc/.config/autostart/fb.desktop
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
View File

@ -0,0 +1,7 @@
[Desktop Entry]
Name=firstboot
Comment=
Exec=/home/clc/firstboot.sh
Icon=
Terminal=true
Type=Application

View File

@ -1,8 +1,7 @@
#!/bin/bash
sleep 10
notify-send -t 3 "RUNNING FIRST TIME CONFIG"
echo "Running firstboot script..."
sleep 3
xfconf-query -c xsettings -p /Net/ThemeName -s "Arc-Darker"
xfconf-query -c xsettings -p /Gtk/FontName -s "Noto Sans Regular 10"