add: niri getting started config

This commit is contained in:
Ricardo
2025-12-21 00:52:59 -08:00
parent ca1cacdd5f
commit 957c8dd029
15 changed files with 1104 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#!/usr/bin/env sh
# Wallpaper directory
WP_FOLDER=/home/toniizk/Pictures/Backgrounds
# Find a random image file (supports png/jpg, add more extensions if needed)
FILE=$(find "$WP_FOLDER" -type f \( -name '*.png' -o -name '*.jpg' \) | shuf -n1)
# Kill any existing swaybg process
killall swaybg
# Start a new swaybg instance with the random image
swaybg -i "$FILE" -m fill &