use gtklock instead of swaylock
This commit is contained in:
16
bin/lock.sh
Executable file
16
bin/lock.sh
Executable file
@@ -0,0 +1,16 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
gtklock
|
||||||
|
|
||||||
|
# leave it here in case i'll need it later
|
||||||
|
# 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
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
killall swayidle
|
killall swayidle
|
||||||
|
|
||||||
cmd="$HOME/dotfiles/bin/swaylock.sh"
|
cmd="$DOTFILES/bin/lock.sh"
|
||||||
|
|
||||||
afterResumeCmd="swaymsg seat seat0 cursor set 300 300"
|
afterResumeCmd="swaymsg seat seat0 cursor set 300 300"
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
#! /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" : "$HOME/dotfiles/bin/swaylock.sh",
|
"action" : "$HOME/dotfiles/bin/lock.sh",
|
||||||
"text" : "Lock",
|
"text" : "Lock",
|
||||||
"keybind" : "l"
|
"keybind" : "l"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user