use gtklock instead of swaylock

This commit is contained in:
2022-06-17 13:04:24 +03:00
parent 3febe188ac
commit 2515417f3d
4 changed files with 18 additions and 15 deletions

16
bin/lock.sh Executable file
View 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

View File

@@ -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"

View File

@@ -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

View File

@@ -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"
} }