From cb63b0c96624c5a61ad941f94086f9fada1967e2 Mon Sep 17 00:00:00 2001 From: trotFunky Date: Wed, 20 Feb 2019 20:07:12 +0100 Subject: [PATCH] =?UTF-8?q?Script=20verouillage=20=C3=A9cran=20gnome?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Perso/locksreenshot.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 Perso/locksreenshot.sh diff --git a/Perso/locksreenshot.sh b/Perso/locksreenshot.sh new file mode 100755 index 0000000..6d8c5d6 --- /dev/null +++ b/Perso/locksreenshot.sh @@ -0,0 +1,5 @@ +#! /bin/bash + +DISPLAY=:0 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 \ No newline at end of file