Compare commits

...

3 Commits

Author SHA1 Message Date
Jan Meyer
313ada955b chore: update 08/08 2026-08-08 21:11:13 +02:00
Jan Meyer
45eab7b8e6 chore: update wallpapers 2026-04-14 13:20:26 +02:00
Jan Meyer
4cdaec4088 fix: wallpaper set script 2026-04-14 13:19:58 +02:00
37 changed files with 11 additions and 24 deletions

View File

@@ -2,12 +2,18 @@
if [[ -z $WALLPAPER_HOME ]]; then
WALLPAPER_HOME="~/wallpapers/"
fi
if [[ -z $1 ]]; then
THEME=$THEME_MODE
else
THEME=$1
fi
WALLPAPER_HOME=$(realpath "${WALLPAPER_HOME/#~/$HOME}")
selected_file=$(
(
while IFS= read -r file; do
<<<<<<< HEAD
# Pass the image path as an icon
printf "%s\0icon\x1f%s\n" "$(basename "$file")" "$file"
done < <(find "$WALLPAPER_HOME" -maxdepth 1 -name '*.jpg')
@@ -33,27 +39,8 @@ echo "$selected" > "$WALLPAPER_HOME/current/selected"
magick "$selected" -scale 10% -blur 0x2.5 -resize 1000% "$WALLPAPER_HOME/current/blurred.jpg"
cp "$selected" "$WALLPAPER_HOME/current/current.jpg"
export WALLPAPER=$(cat "$WALLPAPER_HOME/current/selected")
magick "$WALLPAPER_HOME/current/current.jpg" -gravity Center -crop 40x40%+0+0 +repage /tmp/matugen_target.jpg
hyprctl hyprpaper wallpaper ", $WALLPAPER"
matugen -t scheme-content image "$WALLPAPER_HOME/current/current.jpg"
=======
echo "$(basename "$file")"
done < <(find $WALLPAPER_HOME -maxdepth 1 -name '*.jpg')
) | sort | rofi -dmenu -i -p "Wallpapers"
)
if [ -z $selected_file ]; then
exit 1
fi
if [ ! -d $WALLPAPER_HOME/current ]; then
mkdir $WALLPAPER_HOME/current/
fi
selected="$WALLPAPER_HOME/$selected_file"
echo $selected > $WALLPAPER_HOME/current/selected
magick $selected -scale 10% -blur 0x2.5 -resize 1000% $WALLPAPER_HOME/current/blurred.jpg
cp $selected $WALLPAPER_HOME/current/current.jpg
export WALLPAPER=$(cat $WALLPAPER_HOME/current/selected)
hyprctl hyprpaper wallpaper ", $WALLPAPER"
matugen -t scheme-content image $WALLPAPER_HOME/current/current.jpg
>>>>>>> 912aac4 (chore: add thinkpad wallpapers)
matugen -t scheme-fidelity -m $THEME --source-color-index 0 image "/tmp/matugen_target.jpg" --lightness-dark 0.066
gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk-theme'
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 467 KiB

View File

Before

Width:  |  Height:  |  Size: 368 KiB

After

Width:  |  Height:  |  Size: 368 KiB

BIN
audi-nuvolari.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 KiB

View File

Before

Width:  |  Height:  |  Size: 393 KiB

After

Width:  |  Height:  |  Size: 393 KiB

View File

Before

Width:  |  Height:  |  Size: 813 KiB

After

Width:  |  Height:  |  Size: 813 KiB

BIN
audi-rs5_2027.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

BIN
audi-rs7_2023.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 380 KiB

BIN
bmw-m3-touring_24h.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 371 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 719 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 KiB

View File

Before

Width:  |  Height:  |  Size: 778 KiB

After

Width:  |  Height:  |  Size: 778 KiB

View File

Before

Width:  |  Height:  |  Size: 352 KiB

After

Width:  |  Height:  |  Size: 352 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 KiB

View File

Before

Width:  |  Height:  |  Size: 980 KiB

After

Width:  |  Height:  |  Size: 980 KiB

View File

Before

Width:  |  Height:  |  Size: 642 KiB

After

Width:  |  Height:  |  Size: 642 KiB

View File

Before

Width:  |  Height:  |  Size: 523 KiB

After

Width:  |  Height:  |  Size: 523 KiB

View File

Before

Width:  |  Height:  |  Size: 643 KiB

After

Width:  |  Height:  |  Size: 643 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

Before

Width:  |  Height:  |  Size: 257 KiB

After

Width:  |  Height:  |  Size: 257 KiB

View File

Before

Width:  |  Height:  |  Size: 934 KiB

After

Width:  |  Height:  |  Size: 934 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 735 KiB

View File

Before

Width:  |  Height:  |  Size: 517 KiB

After

Width:  |  Height:  |  Size: 517 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 KiB

BIN
originals/audi-nuvolari.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 KiB

BIN
originals/audi-rs5_2027.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 KiB

BIN
originals/audi-rs7_2023.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 413 KiB

BIN
originals/tiguan-2021.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 KiB

BIN
vw-tiguan_2021.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 KiB