1
0
Fork 0
dotfiles/files/.local/bin/wallpaper

5 lines
215 B
Plaintext
Raw Normal View History

#!/bin/bash
if ! acpi --ac-adapter | grep -q 'off-line'; then
exec $HOME/.local/bin/mpv-bg --really-quiet --no-config --loop --panscan=1.0 --video-pan-y=-0.1 --scale=oversample "$HOME/Pictures/wallpaper.gif"
fi