diff --git a/Perso/locksreenshot.sh b/Perso/locksreenshot.sh index fc2b9ad..fca8945 100755 --- a/Perso/locksreenshot.sh +++ b/Perso/locksreenshot.sh @@ -1,5 +1,5 @@ #! /bin/bash -gnome-screenshot --display=':0' -f ~/Images/Wallpapers/lockscreen.png +DISPLAY=':1' scrot -z ~/Images/Wallpapers/lockscreen.png convert -blur 0x3 ~/Images/Wallpapers/lockscreen.png ~/Images/Wallpapers/lockscreen.png dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock