aboutsummaryrefslogtreecommitdiff
path: root/aux
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-09-24 19:57:24 -0400
committerB. Stack <bgstack15@gmail.com>2024-09-24 19:57:24 -0400
commit0f9ad0d0b810def89705d4c7fbbff962b16ba4c4 (patch)
tree3061220ed78cfe4f4c137e5973c451dd307f1bca /aux
parentadd image to readme (diff)
downloadfprintd-tk-0f9ad0d0b810def89705d4c7fbbff962b16ba4c4.tar.gz
fprintd-tk-0f9ad0d0b810def89705d4c7fbbff962b16ba4c4.tar.bz2
fprintd-tk-0f9ad0d0b810def89705d4c7fbbff962b16ba4c4.zip
dpkg build recipe and assetsHEADmaster
Diffstat (limited to 'aux')
-rw-r--r--aux/79-fprintd.rules (renamed from aux/80-fprintd.rules)16
-rw-r--r--aux/fprintd-tk.desktop8
-rw-r--r--aux/fprintd_tk.125
-rw-r--r--aux/fprintd_tk.1.txt23
4 files changed, 63 insertions, 9 deletions
diff --git a/aux/80-fprintd.rules b/aux/79-fprintd.rules
index 080334f..5b03f07 100644
--- a/aux/80-fprintd.rules
+++ b/aux/79-fprintd.rules
@@ -2,21 +2,19 @@
.. File: 80-fprintd.rules
*/
polkit.addRule(function(action, subject) {
- if (
- (
- action.id.match("net.reactivated.fprint.device.enroll") ||
- action.id.match("net.reactivated.fprint.device.verify")
- ) && subject.active) {
+ if ((
+ action.id.match("net.reactivated.fprint.device.enroll") ||
+ action.id.match("net.reactivated.fprint.device.verify")
+ ) && subject.active) {
polkit.log("action=" + action);
polkit.log("subject=" + subject);
return polkit.Result.YES;
}
});
polkit.addRule(function(action, subject) {
- if (
- (
- action.id.match("net.reactivated.fprint.device.setusername")
- ) && subject.active && subject.isInGroup("admins")) {
+ if ((
+ action.id.match("net.reactivated.fprint.device.setusername")
+ ) && subject.active && subject.isInGroup("admins")) {
polkit.log("action=" + action);
polkit.log("subject=" + subject);
return polkit.Result.YES;
diff --git a/aux/fprintd-tk.desktop b/aux/fprintd-tk.desktop
new file mode 100644
index 0000000..064094b
--- /dev/null
+++ b/aux/fprintd-tk.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Gui for fprintd
+Comment=Control enrolled fingerprints
+Exec=/usr/bin/fprintd_tk
+Icon=fingerprint-gui
+Terminal=false
+Type=Application
+Categories=Settings;
diff --git a/aux/fprintd_tk.1 b/aux/fprintd_tk.1
new file mode 100644
index 0000000..c080708
--- /dev/null
+++ b/aux/fprintd_tk.1
@@ -0,0 +1,25 @@
+.\" Text automatically generated by txt2man-wrapper, and stored in repository so the build process does not depend on my wrapper script.
+.TH fprintd_tk 1 "September 2024" "fprintd-tk" "General Commands Manual"
+.SH NAME
+\fBfprintd_tk \fP- gui for fprintd
+.SH SYNOPSIS
+.nf
+.fam C
+\fBfprintd_tk\fP
+.fam T
+.fi
+.fam T
+.fi
+.SH OPTIONS
+No options. Configuration is in gui.
+.SH ENVIRONMENT
+None.
+.SH DESCRIPTION
+\fBfprintd_tk\fP has a simple graphical representation of the 10 fingers and makes it easy to enroll fingers, and verify them. Users in group `\fBadmins\fP` can also control other users' enrolled fingerprints.
+This project is not directly related to fprintd at all. This is just a separate wrapper program to make life easier for users of window managers.
+.SH AUTHOR
+<bgstack15@gmail.com>
+.SH COPYRIGHT
+GPL-3.0-only
+.SH SEE ALSO
+`fprintd(1)`
diff --git a/aux/fprintd_tk.1.txt b/aux/fprintd_tk.1.txt
new file mode 100644
index 0000000..a6e84f2
--- /dev/null
+++ b/aux/fprintd_tk.1.txt
@@ -0,0 +1,23 @@
+title fprintd_tk
+section 1
+project fprintd-tk
+volume General Commands Manual
+date September 2024
+=====
+NAME
+ fprintd_tk - gui for fprintd
+SYNOPSIS
+ fprintd_tk
+OPTIONS
+ No options. Configuration is in gui.
+ENVIRONMENT
+ None.
+DESCRIPTION
+ fprintd_tk has a simple graphical representation of the 10 fingers and makes it easy to enroll fingers, and verify them. Users in group `admins` can also control other users' enrolled fingerprints.
+ This project is not directly related to fprintd at all. This is just a separate wrapper program to make life easier for users of window managers.
+AUTHOR
+ <bgstack15@gmail.com>
+COPYRIGHT
+ GPL-3.0-only
+SEE ALSO
+ `fprintd(1)`
bgstack15