big updates

This commit is contained in:
sankalp committed 2024-07-30 10:19:03 +05:45
1 parent 0c82692536
commit c7c8ea67c7
42 files changed
+1083 -665

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#!/bin/bash
# Path to your settings JSON file
settings_file="$HOME/dotfiles/.settings/settings.json"
# Read wallpaper engine from the JSON file
wallpaper_engine=$(jq -r '.["wallpaper-engine"]' "$settings_file")
if [ "$wallpaper_engine" == "swww" ]; then
# swww
echo ":: Using swww"
swww-daemon
swww-daemon --format xrgb
sleep 0.5
python -O ~/dotfiles/hypr/scripts/wallpaper.py -P
elif [ "$wallpaper_engine" == "hyprpaper" ]; then
# hyprpaper
echo ":: Using hyprpaper"
sleep 0.5
python -O ~/dotfiles/hypr/scripts/wallpaper.py -P
else
echo ":: Wallpaper Engine disabled"
python -O ~/dotfiles/hypr/scripts/wallpaper.py -P
fi