Resize the wallpaper to fix exactly my screen

This commit is contained in:
Jeena 2025-09-04 22:20:25 +09:00
parent 7c0f074bd7
commit 113421ccef
3 changed files with 1 additions and 2 deletions

View file

@ -1,13 +1,12 @@
#!/usr/bin/env bash
SCRIPTS="$HOME/.config/hypr/menu.list"
SCRIPT_PATH="$HOME/.config/hypr/scripts"
# Kill existing tofi instance if running
pkill -x tofi || {
chosen=$(cut -d'=' -f1 "$SCRIPTS" | tofi)
if [ -n "$chosen" ]; then
script=$(awk -F= -v sel="$chosen" '$1==sel {print $2}' "$SCRIPTS")
[ -n "$SCRIPT_PATH/$script" ] && eval "$SCRIPT_PATH/$script" &
[ -n "$script" ] && eval "$script" &
fi
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 98 KiB

Before After
Before After