Commit Graph

170 Commits

Author SHA1 Message Date
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
Antoine POPINEAU
13a5764168
Updated dependencies. 2023-10-14 20:35:58 +02:00
Sunderland93
599d8d5d36 Add Russian locale 2022-07-07 22:29:16 +02:00
Carl
d464546b36 Update french translation 2022-05-27 23:33:11 +02:00
michaszek8
c955066af9 Update polish translation 2022-05-09 10:59:14 +02:00
Antoine POPINEAU
986ab7dad9
Prepare 0.8.0 and updated dependencies. 2022-05-09 10:58:00 +02:00
Antoine POPINEAU
cfdb57f4cd
Updated dependencies (cc #60). 2022-04-18 17:50:42 +02:00
Yurii Matsiuk
e0ed1da376 Update README.md to align NixOS section 2022-03-26 08:36:07 +01:00
Antoine POPINEAU
2fffad7ac4
Some style updates and display of full name on user menu selection. 2022-02-16 23:21:13 +01:00
Antoine POPINEAU
d71d505756
Updated README to mention user menu and UID selection. 2022-02-16 22:42:33 +01:00
Antoine POPINEAU
332a145b27
Allow constraining the UIDs of users selectable from the menu. 2022-02-16 22:33:22 +01:00
Antoine POPINEAU
23733b0dd0
Allow selecting a user from a menu populated from /etc/passwd. 2022-02-16 22:33:19 +01:00
Antoine POPINEAU
0da7f6e86e
Edited manpage to include --time-format. 2022-02-16 17:12:05 +01:00
Antoine POPINEAU
8fedc26083
Added customization of displayed date and time format (#54). 2022-02-16 17:11:58 +01:00
Antoine POPINEAU
9f35a27fa0
Hide cursor on authentication success. 2022-02-16 17:08:41 +01:00
Antoine POPINEAU
a328e539df
Properly suppress power commands output (for now) (#53). 2022-01-29 00:56:07 +01:00
Antoine POPINEAU
ccffa45ea0
Keep original configured command in list of sessions (#52). 2022-01-29 00:55:06 +01:00
Antoine POPINEAU
df1573c803
Replace spaces with tab in SCD file. 2022-01-25 11:36:39 +01:00
Antoine POPINEAU
c9fd526956
Added option to remember opened session per user (#50). 2022-01-24 20:29:41 +01:00
Antoine POPINEAU
435bbbb82a
Prepare 0.7.3 (only for greetd-tuigreet-git users) [skip ci]. 2022-01-24 08:45:22 +01:00
Antoine POPINEAU
e7872bb58f
Align version strings between AUR git package and the program itself. [skip ci] 2022-01-24 08:26:46 +01:00
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