From 9c8d7472d9ec41d1a42f4baf737d21361e7bda09 Mon Sep 17 00:00:00 2001 From: lub Date: Wed, 12 Jan 2022 18:06:57 +0100 Subject: [PATCH] use wallpaper as lockscreen --- dotfiles/bin/.bin/lockscreen | 6 ------ dotfiles/sway/.config/sway/config | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) delete mode 100755 dotfiles/bin/.bin/lockscreen diff --git a/dotfiles/bin/.bin/lockscreen b/dotfiles/bin/.bin/lockscreen deleted file mode 100755 index 316dcfa..0000000 --- a/dotfiles/bin/.bin/lockscreen +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -set -e - -grim - | convert - -scale 50% -blur 0x20 -fill black -colorize 50% /tmp/lockscreen.png -swaylock -i /tmp/lockscreen.png -rm /tmp/lockscreen.png \ No newline at end of file diff --git a/dotfiles/sway/.config/sway/config b/dotfiles/sway/.config/sway/config index 21b3224..e256f2c 100644 --- a/dotfiles/sway/.config/sway/config +++ b/dotfiles/sway/.config/sway/config @@ -231,8 +231,8 @@ smart_gaps on gaps inner 2 default_border pixel 4 -bindsym $mod+ctrl+shift+l exec 'lockscreen' -exec swayidle -w before-sleep 'lockscreen' +bindsym $mod+ctrl+shift+l exec 'swaylock -i ~/.wallpaper' +exec swayidle -w before-sleep 'swaylock -i ~/.wallpaper' #autostart exec 'swaylock -i ~/.wallpaper'