puntos/.local/bin/.zeit-bg-daemon.trigger

14 lines
271 B
Bash
Executable file

#!/bin/sh
. ~/.cache/themer.lua/shell
tracking="$(zeit tracking --no-colors)"
if echo "$tracking" | grep -q '^ ▶ tracking'; then
riverctl spawn "wbg ~/.config/wallpapers/rose_pine_contourline.png"
else
killall wbg
riverctl background-color "0x$background"
fi