Commit Graph

197 Commits

Author SHA1 Message Date
Antoine POPINEAU
617f85ef7d
Allow using several characters as asterisks (#122). 2024-04-24 11:23:09 +02:00
Antoine POPINEAU
66b82c7d0e
Update dependencies and switched to newly tagged uzers-rs. 2024-04-23 21:41:48 +02:00
Antoine POPINEAU
372eecf14e
Prepare v0.9.0. 2024-01-04 07:48:30 +01:00
Antoine POPINEAU
d8fed26cb4
Fixed wrong argument to fix Cargo dependency revision. 2024-01-04 07:47:52 +01:00
Antoine POPINEAU
e40be84341
Updated dependencies. 2024-01-02 12:58:04 +01:00
Antoine POPINEAU
33b31cd393 Use fixed commit hash for uzers-rs. 2024-01-02 12:54:43 +01:00
Antoine POPINEAU
9712edfc35 Added a test and changed README. 2024-01-02 12:54:43 +01:00
Antoine POPINEAU
e27705b40f Retrieve user list from NSS (#72). 2024-01-02 12:54:43 +01:00
Antoine POPINEAU
c8e4c9b2b3
Prevent event processing while working. 2023-11-13 11:44:58 +01:00
Antoine POPINEAU
8d24e412c9
Update dependencies. 2023-11-12 13:50:11 +01:00
Antoine POPINEAU
45e98216c4 Refactored event handling for power commands and exit signal. 2023-11-11 21:33:49 +01:00
Antoine POPINEAU
551a08af75
Edited README to mention sessions wrapper control. 2023-11-11 09:56:09 +01:00
Antoine POPINEAU
6c1e01840d
Refactored the username mask concept behind a struct. 2023-11-10 20:33:43 +01:00
Antoine POPINEAU
571677dec6
Restore previous buffer when validating new command. 2023-11-08 08:27:10 +01:00
Antoine POPINEAU
6426cd597b
Fixed bug where selecting a session from the menu would not execute the right command. 2023-11-08 08:22:52 +01:00
Antoine POPINEAU
fe587635f5
Fix uppercase characters being ignored. 2023-11-05 18:28:45 +01:00
Antoine POPINEAU
de5f73b7aa Prevent single CTRL to insert space. 2023-11-05 12:26:30 +01:00
Antoine POPINEAU
0cb0e35d38 Added a few tests for keyboard events. 2023-11-05 12:26:30 +01:00
Antoine POPINEAU
cd778e8058 Reset cursor offset when switching screens. 2023-11-05 12:26:30 +01:00
Antoine POPINEAU
a6da45b640 Add a previous buffer to not lose current entry when cycling through a popup. 2023-11-05 12:26:30 +01:00
Antoine POPINEAU
d215a2f390 Test CI updates for tip and release. 2023-11-05 12:26:30 +01:00
Antoine POPINEAU
ef41d59918 Update CI workflows. 2023-11-05 12:26:30 +01:00
Antoine POPINEAU
a3b95d1bad Refactored session management, added comments and tests. 2023-11-05 12:26:30 +01:00
Antoine POPINEAU
158a98e85d
Trying to only render when necessary to limit CPU usage (#113). 2023-11-04 19:36:37 +01:00
Antoine POPINEAU
04d7a655b8 Refactored some functions and added a few tests. 2023-10-29 23:26:53 +01:00
Antoine POPINEAU
35abeddb0c Add a generic --session-wrapper for non-X11 sessions. 2023-10-29 23:26:53 +01:00
Antoine POPINEAU
fd86e6713e Limit UI refresh frame rate. 2023-10-29 10:38:24 +01:00
Antoine POPINEAU
6ec4da0851 Updated .gitignore. 2023-10-29 10:38:24 +01:00
Antoine POPINEAU
2f74df5cc2
Fix Clippy lints. 2023-10-21 16:14:35 +02:00
Antoine POPINEAU
1594e09951
UI refactoring. 2023-10-21 15:57:29 +02:00
Antoine POPINEAU
9aa63faa9f
Fixed a few inconsistencies with the session matcher. 2023-10-21 14:28:44 +02:00
Antoine POPINEAU
1812f1ef8c Use session desktop file path to differentiate them instead of the command. 2023-10-21 13:22:27 +02:00
Aleksei Bavshin
2b119d9bd9 Allow to opt-out from X11 session wrapping
While `startx` is a reasonable default, it might be missing from the
system or in confict with an already deployed solution for launching
X11 sessions.
`--no-xsession-wrapper` disables any modifications of the X11 session
commands.
2023-10-21 10:24:02 +02:00
Aleksei Bavshin
1690d71119 Add --xsession-wrapper argument for X11 session setup 2023-10-21 10:24:02 +02:00
Aleksei Bavshin
389e73ea21 Separate configuration for Wayland and X11 sessions 2023-10-21 10:24:02 +02:00
Aleksei Bavshin
8c08eb78ce Store XDG_SESSION_TYPE and send it to greetd. 2023-10-21 10:24:02 +02:00
Aleksei Bavshin
af79364445 Store sessions as a struct Session 2023-10-21 10:24:02 +02:00
Adam Chovanec
311711c3e0 keep username after bad password 2023-10-15 12:15:04 +02:00
Antoine POPINEAU
c53d47f7d1
Do not use cached last user information if the files are empty (thanks @geekylthyosaur on !78). 2023-10-15 12:07:49 +02:00
Antoine POPINEAU
a111f1cda0
Stop using byte length to compute sizes from strings (to properly display non-ASCII characters). 2023-10-15 11:58:59 +02:00
Narrat
d99a7a95e7
README: update instructions for Arch Linux 2023-10-15 11:49:00 +02:00
Antoine POPINEAU
0d7fa3a183
Changed size calculations to handle really small frames (#88) and
redistribute status bar spacing (#70).
2023-10-15 11:45:47 +02:00
Antoine POPINEAU
470f688a75
Migrate from tui-rs to ratatui. 2023-10-15 10:18:10 +02:00
Antoine POPINEAU
fbad6deccc
Add panic handler to reset the terminal, and various refactoring. 2023-10-15 10:14:38 +02:00
geekylthyosaur
ef63341c04 Add Ukrainian locale 2023-10-15 00:07:41 +02:00
yaca
99f4d4809d Add Spanish locale (fixed incompletion) 2023-10-15 00:07:27 +02:00
yaca
2ebedcd79b Add Spanish (es-CL) locale 2023-10-15 00:07:27 +02:00
Faerbit
e269eed2db Fix counting of non-ASCII characters 2023-10-15 00:05:54 +02:00
Kian-Meng Ang
27be0871e6 Fix typos
Found via `codespell -L crate,comando,nome,nowe,sie`
2023-10-15 00:05:34 +02:00
Adam Chovanec
7e0cdf0f3a update readme 2023-10-14 21:03:15 +02:00