From 5c5d28e494250de944427a300e65f213d6fc529e Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Tue, 5 Mar 2024 12:09:01 +0530 Subject: [PATCH] @eshanized: push via push.sh!!! --- .../multi-user.target.wants/pacman-init.service | 1 + etc/systemd/system/pacman-init.service | 11 +++++++++++ etc/xdg/autostart/snigdhaos-welcome.desktop | 12 ++++++++++++ .../system/snigdhaos-graphical-target.service | 10 ++++++++++ 4 files changed, 34 insertions(+) create mode 120000 etc/systemd/system/multi-user.target.wants/pacman-init.service create mode 100644 etc/systemd/system/pacman-init.service create mode 100644 etc/xdg/autostart/snigdhaos-welcome.desktop create mode 100644 usr/lib/systemd/system/snigdhaos-graphical-target.service diff --git a/etc/systemd/system/multi-user.target.wants/pacman-init.service b/etc/systemd/system/multi-user.target.wants/pacman-init.service new file mode 120000 index 0000000..d09eec6 --- /dev/null +++ b/etc/systemd/system/multi-user.target.wants/pacman-init.service @@ -0,0 +1 @@ +../pacman-init.service \ No newline at end of file diff --git a/etc/systemd/system/pacman-init.service b/etc/systemd/system/pacman-init.service new file mode 100644 index 0000000..62dfa4c --- /dev/null +++ b/etc/systemd/system/pacman-init.service @@ -0,0 +1,11 @@ +[Unit] +Description=Initializes Pacman keyring + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/pacman-key --init +ExecStart=/usr/bin/pacman-key --populate + +[Install] +WantedBy=multi-user.target diff --git a/etc/xdg/autostart/snigdhaos-welcome.desktop b/etc/xdg/autostart/snigdhaos-welcome.desktop new file mode 100644 index 0000000..d31f92d --- /dev/null +++ b/etc/xdg/autostart/snigdhaos-welcome.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=Snigdha OS Welcome +GenericName=Snigdha OS Welcome +X-GNOME-FullName=Snigdha OS Welcome +Comment=Welcome Application for Snigdha OS Installs +Exec=/usr/local/bin/snigdhaos-welcome +Icon=snigdhaos-welcome +Terminal=false +Type=Application +Categories=GTK;Settings;Security;X-GNOME-Settings-Panel;X-GNOME-SystemSettings;X-Unity-Settings-Panel;X-XFCE-SettingsDialog;X-XFCE-SystemSettings; +Keywords=welcome;tool; +StartupNotify=true diff --git a/usr/lib/systemd/system/snigdhaos-graphical-target.service b/usr/lib/systemd/system/snigdhaos-graphical-target.service new file mode 100644 index 0000000..fa45b1d --- /dev/null +++ b/usr/lib/systemd/system/snigdhaos-graphical-target.service @@ -0,0 +1,10 @@ +[Unit] +Description=Snigdha OS Graphical Target +Before=systemd-user-session.service + +[Service] +Type=oneshot +ExecStart=/usr/local/bin/snigdhaos-graphical-target + +[Install] +WantedBy=multi-user.target \ No newline at end of file