Commit Graph

227 Commits

Author SHA1 Message Date
Antoine POPINEAU
77be52aa65
Prepare 0.7.2 (+ updated dependencies and ran clippy). 2022-01-22 23:23:49 +01:00
Dee-Jay Logozzo
e6eb3e7024 Replaced the simple sleep wait, with a tokio Notify barrier
This is still a fairly simple band-aid solution, however it is a more eligant
solution as it removes the free-running aspect of the loop entirely, only
processing the possibility of a `power_command` if we've been notified that
there is one to process
2022-01-22 21:27:40 +01:00
Dee-Jay Logozzo
b7aa752bf7 Added a 100ms sleep to power_command loop
This was done to prevent a spinloop from continuously taking up CPU time
2022-01-22 21:27:40 +01:00
Antoine POPINEAU
64a41c3399
Removed a bunch of clone(). 2021-10-15 02:38:16 +02:00
Antoine POPINEAU
d5a700812c
Caps lock indicator now respects window padding. 2021-10-13 14:24:07 +02:00
Antoine POPINEAU
05526ff0ba
Translate power commands error messages (#43). 2021-10-12 17:01:32 +02:00
Antoine POPINEAU
c810e2f82e
Prevent a deadlock while running power commands. 2021-10-12 17:00:53 +02:00
Antoine POPINEAU
882a2b6bcb
Refactored power management. 2021-10-12 14:05:22 +02:00
Antoine POPINEAU
096584841e
Cleaned and reorganized some code. 2021-10-12 14:04:55 +02:00
Antoine POPINEAU
d2974d288b
Fixed tuigreet not exiting on success (#40).
Changed terminal backend to allow for async stdin reading without
blocking program termination.
2021-10-12 14:04:46 +02:00
Antoine POPINEAU
546d7fb75b
Hide cursor when authentication is done. 2021-10-11 21:37:33 +02:00
Brodi
054df41776 Update german translation 2021-10-11 18:56:42 +02:00
Andrea Feletto
b6f153d002 update italian translation 2021-10-05 22:54:44 +02:00
Antoine POPINEAU
f8905cfd7e
Prepare 0.7.1. 2021-10-05 14:36:44 +02:00
Antoine POPINEAU
087b0f34ad
Updated README and man page. 2021-10-05 14:35:44 +02:00
Antoine POPINEAU
1784c00ea0
Prepare v0.7.0. 2021-10-04 16:45:22 +02:00
Antoine POPINEAU
d8c23fec68
Removed seconds from time (added for debugging purpose). 2021-10-04 16:09:04 +02:00
Antoine POPINEAU
f12688fa0d
Use setsid on power commands to ensure they do not use our TTY (disablable). Run commands in a thread to prevent UI blocking. 2021-10-04 16:05:36 +02:00
Antoine POPINEAU
a34140eb7b Hide cursor on power options screen. 2021-10-01 16:36:04 +02:00
Antoine POPINEAU
227350195b Internalize power option management and allow for customizing the commands that are run. 2021-10-01 11:51:33 +02:00
Antoine POPINEAU
567cf4402a Use greetd_ipc 0.8.0 now that Tokio support has been merged. 2021-09-30 23:37:06 +02:00
Antoine POPINEAU
9c3c39941f New clippy lints. 2021-09-30 22:27:01 +02:00
Antoine POPINEAU
f3919468ec Better handle PAM INFO prompts (such as fingerprint readers). 2021-09-30 22:09:39 +02:00
Antoine POPINEAU
b4e587a903 Miscellaneous refactoring. 2021-09-30 19:32:58 +02:00
Antoine POPINEAU
b178fa318b Async all around, UI should not block because of IPC. 2021-09-30 19:32:58 +02:00
michaszek8
a46b207484 polish translation 2021-09-30 19:32:23 +02:00
Marc Riera
adb84cd3ec Add Catalan translation 2021-09-30 14:35:51 +02:00
Antoine POPINEAU
f22908e104
Added failed authentication string to locale files. 2021-08-04 14:31:15 +02:00
Brodi
4cf31a1d14 Fix typo (authentication failure string) 2021-08-02 14:56:29 +02:00
Antoine POPINEAU
63fd877ddb
Zeroize sensitive values on reset and authentication failure. 2021-07-06 14:01:09 +02:00
Antoine POPINEAU
29b1ba24b0
Move error message outside of main prompt area. 2021-07-05 22:51:10 +02:00
Antoine POPINEAU
6f4bb704df
Fixed mistake in README: greetd accepts arguments in commands [skip ci]. 2021-07-05 18:06:42 +02:00
Antoine POPINEAU
49fee5e8b7
Try and give some sort of direction as to how to run desktop environments. 2021-07-05 17:27:50 +02:00
Antoine POPINEAU
686c57c6b4
Prepare v0.6.1. 2021-07-05 10:42:28 +02:00
Antoine POPINEAU
a64543f30c
Add manpage. 2021-07-05 09:09:41 +02:00
Antoine POPINEAU
93a6456860
Prepare v0.6.0. 2021-07-04 11:26:22 +02:00
Antoine POPINEAU
d7bbacdc5d
Updated README. 2021-07-04 01:53:44 +02:00
Antoine POPINEAU
2be3b60437
Add option to remember the last selected session instead of relying solely on the --cmd option (#30). 2021-07-03 21:51:39 +02:00
Andrea Feletto
8a7a2bf58b italian translation 2021-06-30 16:11:42 +02:00
Yurii Matsiuk
074328f485 Add NixOS section into README.md 2021-06-29 09:10:15 +02:00
Antoine POPINEAU
f2fb5ae034
Merge pull request #27 from tony-aln/patch-1
Create tuigreet.ftl
2021-06-28 22:09:18 +02:00
Antoine POPINEAU
f5c7df43c3
Enabled customization of password redaction character instead of "*". 2021-06-28 22:03:40 +02:00
Tony
40fd287e92
Create tuigreet.ftl
Brazilian Portuguese localization.
2021-06-28 18:46:34 +00:00
Antoine POPINEAU
2dc86f7c87
Merge pull request #26 from brodi1/german-translations
Add german translations
2021-06-28 16:45:29 +02:00
Antoine POPINEAU
d7424b4d43
Prepare 0.5.0. 2021-06-28 16:41:02 +02:00
Antoine POPINEAU
74cc3e6ea4
Refactoring. 2021-06-28 16:35:06 +02:00
Brodi
b03da2bb43
Create tuigreet.ftl
- [tuigreet.ftl] german translation
2021-06-27 14:30:12 +02:00
Antoine POPINEAU
f354f5bdda
Minor refactoring. 2021-06-25 00:00:06 +02:00
Antoine POPINEAU
1cecc6a20c
Removed some more exit conditions since we now try never to exit on authentication failure. 2021-06-24 23:44:58 +02:00
Antoine POPINEAU
f618d16559
Added support for localization, with English and French translations (#25). 2021-06-24 22:58:01 +02:00