From 79328c01875a872eda62fcc54d02bfaf757077cb Mon Sep 17 00:00:00 2001 From: Thomas Cole Date: Wed, 7 Jul 2021 08:50:57 -0400 Subject: [PATCH] register as a .desktop file --- archinstall.sh | 4 +++- fb.desktop | 7 +++++++ firstboot.sh | 5 ++--- 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 fb.desktop diff --git a/archinstall.sh b/archinstall.sh index 557dda4..68d0292 100755 --- a/archinstall.sh +++ b/archinstall.sh @@ -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 } ###################################################################################### diff --git a/fb.desktop b/fb.desktop new file mode 100644 index 0000000..e00e36b --- /dev/null +++ b/fb.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=firstboot +Comment= +Exec=/home/clc/firstboot.sh +Icon= +Terminal=true +Type=Application \ No newline at end of file diff --git a/firstboot.sh b/firstboot.sh index f589c28..c081c0a 100644 --- a/firstboot.sh +++ b/firstboot.sh @@ -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"