This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
|
#!/bin/sh
|
|
|
|
set -x
|
|
|
|
for img in ~/.local/share/backgrounds/*_dark.*
|
|
do
|
|
new_path=$(echo "$img" | sed 's/_dark/_light/')
|
|
test -f "$new_path" ||
|
|
convert "$img" -channel RGB -negate "$new_path"
|
|
done
|