From 35731aed7fddadf5c8bb0d7f1c678c0e8887998c Mon Sep 17 00:00:00 2001 From: trotFunky Date: Tue, 9 Apr 2019 22:17:30 +0200 Subject: [PATCH] Scrot ne marche plus sous wayland, sad :( --- Perso/locksreenshot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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