From 234a0e912850927ffb27a8d89760262dad35c9ac Mon Sep 17 00:00:00 2001 From: trotFunky Date: Tue, 9 Apr 2019 22:56:19 +0200 Subject: [PATCH] Repassage sur X11 donc scrot --- Perso/locksreenshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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