diff --git a/Perso/locksreenshot.sh b/Perso/locksreenshot.sh index 6d8c5d6..fc2b9ad 100755 --- a/Perso/locksreenshot.sh +++ b/Perso/locksreenshot.sh @@ -1,5 +1,5 @@ #! /bin/bash -DISPLAY=:0 scrot -z ~/Images/Wallpapers/lockscreen.png +gnome-screenshot --display=':0' -f ~/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 \ No newline at end of file +dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock