first commit
This commit is contained in:
16
set-wallpaperengine.sh
Executable file
16
set-wallpaperengine.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user