Re-implement support for auto-unlocking kwallet on login

This commit is contained in:
2024-11-05 19:31:29 -05:00
parent a1b721bb34
commit b6e7ac679f
4 changed files with 5 additions and 6 deletions
+3
View File
@@ -143,6 +143,9 @@ if [ "$formfactor" == 1 ] || [ "$formfactor" == 2 ] || [ "$formfactor" == 3 ]; t
echo -e "[Basic Settings]\nIndexing-Enabled=false" | install -m 0600 -o $username -g users /dev/stdin /home/"$username"/.config/baloofilerc
echo -e "[General]\nloginMode=emptySession" | install -m 0600 -o $username -g users /dev/stdin /home/"$username"/.config/ksmserverrc
# allow auto-unlocking kwallet via PAM
install -m 0644 ./config-files/plasma/pam-login-kwallet /etc/pam.d/login
# pipewire
install -m 0755 ./programs/pipewire-start/pipewire-start.sh /usr/local/bin/pipewire-start.sh
install -Dm 0644 -o $username -g users ./programs/pipewire-start/pipewire.desktop /home/"$username"/.config/autostart/pipewire.desktop
-3
View File
@@ -1,3 +0,0 @@
#!/bin/sh
git commit -am "$1"
git push
@@ -1,10 +1,9 @@
#%PAM-1.0
auth required pam_securetty.so
auth requisite pam_nologin.so
auth include system-local-login
auth optional pam_kwallet5.so
account include system-local-login
session include system-local-login
session optional pam_kwallet5.so auto_start force_run
session optional pam_kwallet5.so auto_start force_run
password include system-local-login
+1 -1
View File
@@ -3,7 +3,7 @@
loadkeys us
echo ----------------------------------------------------------------------------------------------
echo rwinkhart\'s Artix Install Script
echo Last updated October 22, 2024 \(rev. A\)
echo Last updated November 05, 2024 \(rev. A\)
echo ----------------------------------------------------------------------------------------------
echo You will be asked some questions before installation.
echo -e "----------------------------------------------------------------------------------------------\n"