🧹 chore(redir): application && re-organize files

This commit is contained in:
Eshan Roy
2024-11-19 05:01:04 +05:30
parent 84e9cbcafc
commit fc11a45a85
6 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#!/bin/sh
if [ -e "$1" ]; then
echo ""
echo "Preparing Setup..."
echo ""
fi
echo ""
echo "Installing Packages! Please Wait..."
echo ""
installable_packages=$(comm -12 <(pacman -Slq | sort) <(sed s/\\s/\\n/g - <$2 | sort))
sudo pacman -S --needed $installable_packages && rm $2 || { read -p "Error Occured! Press Enter to Return To Snigdha OS BlackBox"; exit; }
if [ -e "$3" ]; then
echo ""
echo "Enabling Services(If Any)"
echo ""
sudo bash - <$3
fi
echo ""
read -p "Press Enter To Return to Snigdha OS Blackbox."

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Snigdha OS Blackbox
Comment=
Encoding=UTF-8
Exec=snigdhaos-blackbox
Terminal=flase
Type=Application
Icon=snigdhaos-blackbox
Categories=System;SnigdhaOS-Setup;
NoDisplay=flase