Skip to content

Commit

Permalink
lsbeggining of the firstboot script
Browse files Browse the repository at this point in the history
  • Loading branch information
Heus-Sueh committed Sep 2, 2024
1 parent 4772ff0 commit 6963551
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
10 changes: 5 additions & 5 deletions files/scripts/firstboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ run_modules() {

echo "Running theme setup script..."
# Example of running an external script
sudo flatpak override --filesystem=xdg-data/themes
sudo flatpak override --filesystem=xdg-data/icons
sudo flatpak override --filesystem=xdg-config/gtk-3.0
sudo flatpak override --filesystem=xdg-config/gtk-4.0
sudo flatpak override --filesystem=xdg-config/Kvantum
flatpak override --filesystem=xdg-data/themes
flatpak override --filesystem=xdg-data/icons
flatpak override --filesystem=xdg-config/gtk-3.0
flatpak override --filesystem=xdg-config/gtk-4.0
flatpak override --filesystem=xdg-config/Kvantum
# ./setup_theme.sh

echo "Initial setup completed!"
Expand Down
11 changes: 11 additions & 0 deletions files/systemd/system/firstboot.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Unit]
Description=First Boot Script
After=network.target

[Service]
Type=oneshot
ExecStart=/usr/bin/firstboot.sh
RemainAfterExit=true

[Install]
WantedBy=multi-user.target

0 comments on commit 6963551

Please sign in to comment.