From 80097597a086147e675457a1890b78d9365e1f4c Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Sat, 16 Mar 2019 23:24:25 +0100 Subject: [PATCH] ignore empty password on screenlock --- PKGBUILD | 4 ++-- blaat | 1 + config.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 blaat diff --git a/PKGBUILD b/PKGBUILD index 9abdf62..8964ee8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,7 +9,7 @@ url="http://dwm.suckless.org" arch=('i686' 'x86_64') license=('MIT') options=(zipman) -depends=('libx11' 'libxinerama' 'libxft' 'freetype2' 'st' 'dmenu' 'nerd-fonts-source-code-pro') +depends=('libx11' 'libxinerama' 'libxft' 'freetype2' 'st' 'dmenu' 'nerd-fonts-source-code-pro' 'i3lock') install=dwm.install _patches=( @@ -34,7 +34,7 @@ source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz "${_patches[@]}") md5sums=('9929845ccdec4d2cc191f16210dd7f3d' - 'e7cc322b35264ce8149e03e36737d250' + '2fecdfe711455b8f1eae2c18a647ac8c' '939f403a71b6e85261d09fc3412269ee' '31a7569d7f3d43846f59e854ec5d1da0' 'fbb786263f2d714b18368ff64779d669' diff --git a/blaat b/blaat new file mode 100644 index 0000000..8bd6648 --- /dev/null +++ b/blaat @@ -0,0 +1 @@ +asdf diff --git a/config.h b/config.h index ea50bf8..2e7f2a1 100644 --- a/config.h +++ b/config.h @@ -150,7 +150,7 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, static const char *termcmd[] = { "st", NULL }; static const char scratchpadname[] = "scratchpad"; static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL }; -static const char *slockcmd[] = { "slock" }; +static const char *slockcmd[] = { "i3lock", "-e", "-b", "-f", "-i", "/home/alrayyes/.config/lock.png" }; #include "selfrestart.c"