Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
more file formats
Browse files Browse the repository at this point in the history
better Install Instruction
  • Loading branch information
Truemmerer committed May 17, 2021
1 parent ad71693 commit 22b4bd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
# Installation
1. Move the folder "awp" to /usr/local/share/
2. Move the ".desktop" file to /usr/share/applications/
3. Reload GNOME - X11 press f2 and then r
3. chmod +x /usr/local/share/awp/awp.sh
4. chmod +x /usr/local/share/awp/awp_autostart.sh
5. Reload GNOME - X11 press f2 and then r

## Icon from:
https://icon-icons.com/icon/wallpaper/104166
Expand Down
4 changes: 2 additions & 2 deletions awp/awp.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ NAME=$(zenity --entry --title "What should the wallpaper be called?" --text "Wit

youtube-dl --restrict-filenames $LINK -o $NAME\
| zenity --progress --title "Progress" --text "The download is running" --pulsate --width=200 --auto-close
ffmpeg -i $NAME.mkv -frames:v 1 ./Bild/$NAME.png
ffmpeg -i $NAME.* -frames:v 1 ./Bild/$NAME.png

killall animated-wallpaper

gsettings set org.gnome.desktop.background picture-uri file://$Bilddir/$NAME.png\
&& animated-wallpaper $NAME.mkv & exit 0
&& animated-wallpaper $NAME.* & exit 0



Expand Down

0 comments on commit 22b4bd7

Please sign in to comment.