Files
SDG-Qtile/qtile/scripts/variety-swww.sh
T
2026-06-12 08:05:48 +02:00

17 lines
281 B
Bash
Executable File

#!/bin/bash
#
image=$1
# Create the color profile with pywal
wal -i $image
# Copy image to the .cache
cp $image ~/.cache/current_wallpaper.jpg
# Set the image as wallpaper using swww
swww img ~/.cache/current_wallpaper.jpg
# Reload Qtile
qtile cmd-obj -o cmd -f reload_config