diff --git a/.bauke/scripts/desktop-wallpaper.ts b/.bauke/scripts/desktop-wallpaper.ts index f93b061..f0329ab 100644 --- a/.bauke/scripts/desktop-wallpaper.ts +++ b/.bauke/scripts/desktop-wallpaper.ts @@ -41,12 +41,14 @@ async function main(): Promise { } } +/** Download the given URL and output it to {@linkcode imagePath}. */ async function downloadImage(url: string): Promise { await runCommand("curl", { args: ["-fsLS", url, "-o", imagePath], }); } +/** Run `xfce4-desktop` and set the background wallpaper for each monitor. */ async function setWallpaper(file: string = imagePath): Promise { const monitors = ["monitorHDMI-0", "monitorHDMI-1"]; for (const monitor of monitors) {