i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit bbd5af2a7a2603e36274585d9be724b5e1a3a4d3
parent a318ff3d071cdff0e324f129ced3afa67f72e314
Author: Mohamad Safadieh <self@mhmd.sh>
Date:   Sun, 14 Feb 2021 04:33:48 -0500

Use system-local-login for PAM on Arch/Gentoo

Diffstat:
Mconfigure.ac | 8++++----
Mpam/i3lock | 2+-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -77,17 +77,17 @@ AC_SEARCH_LIBS([ev_run], [ev], , [AC_MSG_FAILURE([cannot find the required ev_ru
 
 AC_SEARCH_LIBS([shm_open], [rt])
 
-# Use system-auth instead of login on Arch
+# Use system-local-login instead of login on Arch
 if [[ -f /etc/arch-release ]]; then
     echo "Using PAM for Arch"
-    sed -i "s/^#auth include system-auth/auth include system-auth/g" ../pam/i3lock
+    sed -i "s/^#auth include system-local-login/auth include system-local-login/g" ../pam/i3lock
     sed -i "s/^auth include login/#auth include login/g" ../pam/i3lock
 fi
 
-# Use system-auth instead of login on Gentoo
+# Use system-local-login instead of login on Gentoo
 if [[ -f /etc/gentoo-release ]]; then
     echo "Using PAM for Gentoo"
-    sed -i "s/^#auth include system-auth/auth include system-auth/g" ../pam/i3lock
+    sed -i "s/^#auth include system-local-login/auth include system-local-login/g" ../pam/i3lock
     sed -i "s/^auth include login/#auth include login/g" ../pam/i3lock
 fi
 
diff --git a/pam/i3lock b/pam/i3lock
@@ -4,5 +4,5 @@
 # and 'login' for Debian. Note that vanilla i3lock upstream uses 'login' instead.
 #
 
-#auth include system-auth # For Arch/Gentoo
+#auth include system-local-login # For Arch/Gentoo
 auth include login # For Debian