add swaylock.sh script
it uses fork of swaylock called swaylock-effects
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
killall swayidle
|
killall swayidle
|
||||||
|
|
||||||
cmd="swaylock"
|
cmd="$HOME/dotfiles/bin/swaylock.sh"
|
||||||
|
|
||||||
swayidle before-sleep $cmd after-resume "swaymsg seat seat0 cursor set 300 300"
|
afterResumeCmd="swaymsg seat seat0 cursor set 300 300"
|
||||||
|
|
||||||
|
swayidle before-sleep "$cmd" after-resume "$afterResumeCmd"
|
||||||
|
|||||||
13
bin/swaylock.sh
Executable file
13
bin/swaylock.sh
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
swaylock \
|
||||||
|
--screenshots \
|
||||||
|
--indicator \
|
||||||
|
--indicator-radius 100 \
|
||||||
|
--indicator-thickness 7 \
|
||||||
|
--clock \
|
||||||
|
--ring-color ffeced \
|
||||||
|
--key-hl-color 0291ff \
|
||||||
|
--effect-blur 7x5 \
|
||||||
|
--effect-vignette 0.5:0.5 \
|
||||||
|
--fade-in 0.2
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"label" : "lock",
|
"label" : "lock",
|
||||||
"action" : "swaylock",
|
"action" : "$HOME/dotfiles/bin/swaylock.sh",
|
||||||
"text" : "Lock",
|
"text" : "Lock",
|
||||||
"keybind" : "l"
|
"keybind" : "l"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user