clean files

This commit is contained in:
RafayAhmad7548 2025-07-26 20:13:37 +05:00
parent dd8482a6fb
commit 30542228ee
82 changed files with 11285 additions and 0 deletions

28
scripts/changeWallpaper.sh Executable file
View file

@ -0,0 +1,28 @@
#!/bin/bash
monitor="eDP-1"
currentWallpaper=$(hyprctl hyprpaper listactive)
currentWallpaper=${currentWallpaper:8}
echo "$currentWallpaper"
wallpapers=$(hyprctl hyprpaper listloaded)
set=false
for wallpaper in $wallpapers; do
echo "$wallpaper"
if $set; then
hyprctl hyprpaper wallpaper "${monitor},${wallpaper}"
set=false
fi
if [ "$wallpaper" = "$currentWallpaper" ]; then
set=true
echo yes
fi
done
if $set; then
hyprctl hyprpaper wallpaper "${monitor},/home/rafayahmad/dotfiles/bgs/1.png"
fi