Files
sway-difrex/scripts/previous_background.sh

7 lines
136 B
Bash
Executable File

#!/usr/bin/env bash
BACKGROUND="$(cat ~/.config/sway/.current_wallpaper)"
# Set it
swaymsg output '*' background "${BACKGROUND}" fill