From 0f0bbae45aff0b797b31b36ef013b5b25d1762cb Mon Sep 17 00:00:00 2001 From: Nino PChome Date: Mon, 30 Mar 2026 16:33:05 -0600 Subject: [PATCH] generacion de previews --- wallpaper-caelestia-main.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/wallpaper-caelestia-main.sh b/wallpaper-caelestia-main.sh index ef6f1b7..415ce48 100644 --- a/wallpaper-caelestia-main.sh +++ b/wallpaper-caelestia-main.sh @@ -15,7 +15,21 @@ fi ##GENERAR PREVIEW -linux-wallpaperengine --fps 30 --scaling $scaling -s --disable-parallax --screen-root $monitor --bg $workspace_ID +preview_path='/home/arthur/Pictures/Wallpapers/'$workspace_ID'.png' + +command = linux-wallpaperengine --fps 30 --scaling $scaling -s --disable-parallax --screen-root $monitor --bg $workspace_ID --screenshot $preview_path > /dev/null & + +bash -c $command + + +#hay que modificar el archivo de execs para que se ejecute en el siguiente reinicio + +#//// + +#hay que agregar una funcion en el selector de wallpapers que llame a este programa +sleep 3 + +