swaylock-script/image-lock-sleep.sh

20 lines
448 B
Bash
Raw Normal View History

2024-01-22 19:07:23 +01:00
#!/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