change wallpaper

This commit is contained in:
Pim Kunis 2023-07-27 14:58:53 +02:00
parent 9ada922084
commit 1dca49afef
3 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
[xin_-1] [xin_-1]
file=/home/pim/Pictures/wallpapers/orphans.png file=/home/pim/Pictures/wallpapers/plague.png
mode=0 mode=0
bgcolor=#000000 bgcolor=#000000

View file

@ -2,4 +2,4 @@
SCREEN_RESOLUTION="$(xdpyinfo | grep dimensions | cut -d' ' -f7)" SCREEN_RESOLUTION="$(xdpyinfo | grep dimensions | cut -d' ' -f7)"
BGCOLOR="000000" BGCOLOR="000000"
convert "/home/pim/Pictures/wallpapers/orphans.png" -gravity Center -background \#$BGCOLOR -resize "$SCREEN_RESOLUTION" RGB:- | i3lock --raw "$SCREEN_RESOLUTION":rgb -c $BGCOLOR -i /dev/stdin convert "/home/pim/Pictures/wallpapers/plague.png" -gravity Center -background \#$BGCOLOR -resize "$SCREEN_RESOLUTION" RGB:- | i3lock --raw "$SCREEN_RESOLUTION":rgb -c $BGCOLOR -i /dev/stdin

Binary file not shown.

After

Width:  |  Height:  |  Size: 573 KiB