Files
TheaninovOS/modules/home-manager/desktops/hyprland/ags/js/lockscreen/auth.py

8 lines
119 B
Python
Executable File

#! /usr/bin/env python
import pam
import sys
import getpass
print(pam.authenticate(getpass.getuser(), sys.argv[1]));