obtener ID steam monitor y scale

This commit is contained in:
2026-03-30 14:13:42 -06:00
parent fe59115d33
commit 41d28a4427

View File

@@ -1 +1,16 @@
#inicio #!/bin/bash
workspace_URL=$1
monitor=$2
scaling=$3
lenght=$(echo $workspace_URL| wc -c)
workspace_ID=$(cut -c 56-$lenght <<< $workspace_URL)
echo "ID: "$workspace_ID
echo "URL: "$workspace_URL
echo "MONITOR: "$monitor
if [ "$scaling" == '' ]; then
scaling='default'
fi
linux-wallpaperengine --fps 30 --scaling $scaling -s --disable-parallax --screen-root $monitor --bg $workspace_ID