diff options
Diffstat (limited to 'scripts/.local/bin/personal/wally')
-rwxr-xr-x | scripts/.local/bin/personal/wally | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/.local/bin/personal/wally b/scripts/.local/bin/personal/wally index b733873..9b13bcc 100755 --- a/scripts/.local/bin/personal/wally +++ b/scripts/.local/bin/personal/wally @@ -43,8 +43,12 @@ setTheme() { if [[ $1 == *.json ]]; then wal --theme "$1" - rica - xdotool key Super_L+r + + walppr="$(cat "$1" | jq .wallpaper | sed 's/"//g')" + cp "$walppr" "$cachedWallpaperFile" + + rica "$1" + xdotool key Super_L+Shift_L+r exit 0 fi |