Cockpit-Custom/script/res/bin/cockpit-custom-background-setup-by-code
2025-03-22 22:56:19 +01:00

9 lines
237 B
Bash
Executable file

#!/usr/bin/env bash
URI_P1="https://res.tyleo.dev/backgrounds/cockpit/gen2_manjaro/MOD-MJRS_"
URI_P2=".png"
URI_CODE=$1
URI=$URI_P1$URI_CODE$URI_P2
wget $URI -O /usr/share/custom/cockpit-branding/custom/back.png
cockpit-custom-refresh