Reorganize repo into config/, scripts/, and docs/ directories

This commit is contained in:
duma799
2026-02-13 13:15:14 +04:00
parent 063b0b1bd0
commit c7c73546bc
33 changed files with 8 additions and 8 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
# Sync Caelestia wallpaper with swaybg
WALLPAPER_PATH=$(pgrep -a swaybg | grep -oP '(?<=-i )[^ ]+' | head -1)
if [ -n "$WALLPAPER_PATH" ] && [ -f "$WALLPAPER_PATH" ]; then
mkdir -p ~/.local/state/caelestia/wallpaper
ln -sf "$WALLPAPER_PATH" ~/.local/state/caelestia/wallpaper/current
echo "$WALLPAPER_PATH" > ~/.local/state/caelestia/wallpaper/path.txt
echo "✓ Caelestia wallpaper synced to: $WALLPAPER_PATH"
else
echo "⚠ Could not detect swaybg wallpaper"
fi