diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-02-06 03:53:51 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-02-06 03:53:51 +0300 |
commit | b943ef609ef9aeba96599770f730d27b529146a6 (patch) | |
tree | 4cea10e6576ed1b8a47ddead13301aa6e4f42ae4 /system/etc | |
parent | f0cc6eec402a0deceafc0e0663d77008a969d7aa (diff) | |
download | swayrice-b943ef609ef9aeba96599770f730d27b529146a6.tar.gz swayrice-b943ef609ef9aeba96599770f730d27b529146a6.zip |
cleanup: remove old files, improve install
Clean up old files and improve installation of system-wide
configuration.
Diffstat (limited to 'system/etc')
-rw-r--r-- | system/etc/pacman.d/hooks/mandb.hook | 11 | ||||
-rw-r--r-- | system/etc/pam.d/swaylock | 7 | ||||
-rw-r--r-- | system/etc/pam.d/system-local-login | 8 |
3 files changed, 26 insertions, 0 deletions
diff --git a/system/etc/pacman.d/hooks/mandb.hook b/system/etc/pacman.d/hooks/mandb.hook new file mode 100644 index 0000000..de5971d --- /dev/null +++ b/system/etc/pacman.d/hooks/mandb.hook @@ -0,0 +1,11 @@ +[Trigger] +Type = Path +Operation = Install +Operation = Upgrade +Operation = Remove +Target = usr/share/man/* + +[Action] +Description = Updating manual database... +When = PostTransaction +Exec = /usr/bin/mandb --quiet diff --git a/system/etc/pam.d/swaylock b/system/etc/pam.d/swaylock new file mode 100644 index 0000000..1c190f0 --- /dev/null +++ b/system/etc/pam.d/swaylock @@ -0,0 +1,7 @@ +# +# PAM configuration file for the swaylock screen locker. By default, it includes +# the 'login' configuration file (see /etc/pam.d/login) +# + +auth include login +auth optional pam_gnupg.so diff --git a/system/etc/pam.d/system-local-login b/system/etc/pam.d/system-local-login new file mode 100644 index 0000000..397539d --- /dev/null +++ b/system/etc/pam.d/system-local-login @@ -0,0 +1,8 @@ +#%PAM-1.0 + +auth include system-login +auth optional pam_gnupg.so +account include system-login +password include system-login +session include system-login +session optional pam_gnupg.so |