Merge pull request #270 from aleff-github/patch-18
Change Desktop Wallpaper - LinuxKDEpull/287/head
commit
19d85451e8
|
@ -0,0 +1,27 @@
|
|||
# Change Desktop Wallpaper - Linux ✅
|
||||
|
||||
A script used to prank your friends changing their desktop wallpaper.
|
||||
|
||||
**Category**: Prank
|
||||
|
||||
## Description
|
||||
|
||||
A script used to prank your friends changing their desktop wallpaper.
|
||||
|
||||
Opens a shell, download the image, define the local image path, run a command KDE BASED that will replace the desktop wallpaper with the local image path, then delete the image downloaded, clear the history and close the shell.
|
||||
|
||||
## Getting Started
|
||||
|
||||
### Dependencies
|
||||
|
||||
* Internet Connection
|
||||
* Linux KDE
|
||||
|
||||
### Executing program
|
||||
|
||||
* Plug in your device
|
||||
|
||||
### Settings
|
||||
|
||||
- Image link
|
||||
- Local image path
|
|
@ -0,0 +1,39 @@
|
|||
REM ###########################################
|
||||
REM # |
|
||||
REM # Title : Change Desktop Wallpaper |
|
||||
REM # Author : Aleff |
|
||||
REM # Version : 1.0 |
|
||||
REM # Category : Prank |
|
||||
REM # Target : Linux (KDE based) |
|
||||
REM # |
|
||||
REM ###########################################
|
||||
|
||||
REM Requirements:
|
||||
REM - Internet Connection
|
||||
|
||||
DELAY 1000
|
||||
CTRL-ALT t
|
||||
DELAY 2000
|
||||
|
||||
REM Replace 'example.com/IMAGE_NAME' with your image link
|
||||
DEFINE IMAGE_LINK example.com/IMAGE_NAME
|
||||
STRING wget
|
||||
STRING IMAGE_LINK
|
||||
ENTER
|
||||
|
||||
REM Replace example.jpg with the image path, for example /home/USERNAME/example.jpg
|
||||
DEFINE IMAGE_PATH="file://example.jpg"
|
||||
|
||||
REM It depends by the Internet Connection
|
||||
DELAY 2000
|
||||
|
||||
STRING qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();for (i=0;i<allDesktops.length;i++) {d = allDesktops[i]; d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "
|
||||
STRING IMAGE_PATH
|
||||
STRING ")}'
|
||||
ENTER
|
||||
DELAY 1000
|
||||
|
||||
STRING rm -rf
|
||||
STRING IMAGE_PATH
|
||||
STRING ;history -c; exit;
|
||||
ENTER
|
Loading…
Reference in New Issue