From 2515417f3d64bfce2dc67b5153b5b8835f32081e Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Fri, 17 Jun 2022 13:04:24 +0300 Subject: [PATCH] use gtklock instead of swaylock --- bin/lock.sh | 16 ++++++++++++++++ bin/swayidle.sh | 2 +- bin/swaylock.sh | 13 ------------- config/.config/wlogout/layout | 2 +- 4 files changed, 18 insertions(+), 15 deletions(-) create mode 100755 bin/lock.sh delete mode 100755 bin/swaylock.sh diff --git a/bin/lock.sh b/bin/lock.sh new file mode 100755 index 0000000..a3400f2 --- /dev/null +++ b/bin/lock.sh @@ -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 diff --git a/bin/swayidle.sh b/bin/swayidle.sh index 46946b4..5b32874 100755 --- a/bin/swayidle.sh +++ b/bin/swayidle.sh @@ -2,7 +2,7 @@ killall swayidle -cmd="$HOME/dotfiles/bin/swaylock.sh" +cmd="$DOTFILES/bin/lock.sh" afterResumeCmd="swaymsg seat seat0 cursor set 300 300" diff --git a/bin/swaylock.sh b/bin/swaylock.sh deleted file mode 100755 index 2f8b72c..0000000 --- a/bin/swaylock.sh +++ /dev/null @@ -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 diff --git a/config/.config/wlogout/layout b/config/.config/wlogout/layout index fdd1f98..53f0057 100644 --- a/config/.config/wlogout/layout +++ b/config/.config/wlogout/layout @@ -1,6 +1,6 @@ { "label" : "lock", - "action" : "$HOME/dotfiles/bin/swaylock.sh", + "action" : "$HOME/dotfiles/bin/lock.sh", "text" : "Lock", "keybind" : "l" }