From 2a99cce7d8ba5cb0105cfc2d58bc8ef7598a1f49 Mon Sep 17 00:00:00 2001 From: primardj Date: Mon, 22 Jan 2024 18:07:23 +0000 Subject: [PATCH] add all script that I had already made --- image-lock-sleep.sh | 19 +++++++++++++++++++ image-lock.sh | 21 +++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100755 image-lock-sleep.sh create mode 100755 image-lock.sh diff --git a/image-lock-sleep.sh b/image-lock-sleep.sh new file mode 100755 index 0000000..fcb8488 --- /dev/null +++ b/image-lock-sleep.sh @@ -0,0 +1,19 @@ +#!/usr/bin/bash + +#set the icon in the tmp file because the tmp file delete himself in less tha 24 hour (because "I" poweroff my computer. +# tmporaire='/tmp/screenshot.png' +# grim "$tmporaire" + +#launch swaylock + +swaylock -f \ + --screenshots \ + --clock \ + --indicator \ + --indicator-radius 200 \ + --indicator-thickness 10 \ + --inside-color 000000BB \ + --effect-vignette 0.6:1 \ + --effect-blur 3x5 \ + --ring-color ff7f50 \ + --separator-color 000000ff diff --git a/image-lock.sh b/image-lock.sh new file mode 100755 index 0000000..f1c3df3 --- /dev/null +++ b/image-lock.sh @@ -0,0 +1,21 @@ +#!/usr/bin/bash + +#set the icon in the tmp file because the tmp file delete himself in less tha 24 hour (because "I" poweroff my computer. +# tmporaire='/tmp/screenshot.png' +# grim "$tmporaire" + +#next I start the i3lock like I should have done before : with the image of my screen XDDD +swaylock -f \ + --screenshots \ + --clock \ + --indicator \ + --indicator-radius 200 \ + --indicator-thickness 10 \ + --inside-color 000000BB \ + --effect-vignette 0.6:1 \ + --effect-blur 3x5 \ + --ring-color ff7f50 \ + --separator-color 000000ff \ + --fade-in 5 + +