Compare commits

..

1 Commits

Author SHA1 Message Date
ION606 7d61fbc8ee removed terrible notif daemon 2026-06-05 08:33:35 -07:00
2 changed files with 43 additions and 1 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
# NetworkManager is the most popular way to manage wireless networks on Linux, # NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it. # and nm-applet is a desktop environment-independent system tray GUI for it.
exec --no-startup-id nm-applet exec --no-startup-id nm-applet
exec --no-startup-id /usr/lib/notify-osd/notify-osd & exec --no-startup-id dunst
exec_always feh --bg-fill "$(find /home/ion606/Pictures/bk -type f | shuf -n 1)" exec_always feh --bg-fill "$(find /home/ion606/Pictures/bk -type f | shuf -n 1)"
exec_always picom --config /home/ion606/.config/picom/picom.config exec_always picom --config /home/ion606/.config/picom/picom.config
+42
View File
@@ -0,0 +1,42 @@
#!/bin/bash
# Configuration
PACKAGE_FILE="packages.txt"
ERROR_LOG="failed_packages.log"
# Clear previous log
> "$ERROR_LOG"
# Check if package file exists
if [[ ! -f "$PACKAGE_FILE" ]]; then
echo "Error: $PACKAGE_FILE not found."
exit 1
fi
echo "Starting installation process..."
# Loop through each package in the file
while IFS= read -r package || [[ -n "$package" ]]; do
# Skip empty lines or comments
[[ -z "$package" || "$package" =~ ^# ]] && continue
echo "--------------------------------------"
echo "Installing: $package"
# Run yay installation
# --noconfirm: bypasses prompts (use with caution)
# --needed: skips packages already up to date
if yay -S --noconfirm --needed "$package"; then
echo "Successfully installed $package"
else
echo "FAILED: $package" | tee -a "$ERROR_LOG"
fi
done < "$PACKAGE_FILE"
echo "--------------------------------------"
echo "Process complete."
if [[ -s "$ERROR_LOG" ]]; then
echo "Some packages failed to install. Check $ERROR_LOG for details."
else
echo "All packages installed successfully!"
fi