Commit graph

21 commits

Author SHA1 Message Date
Gijs Burghoorn
2e49271677 Update Dependencies: Ratatui and Crossterm 2023-06-25 21:07:08 +02:00
funnyboy-roks
15f25c4a48 Add timestamps to logs (fix #132)
Add timestamps to the logs via the `humantime` feature on `env_logger`.
2023-05-12 17:58:57 +02:00
Gijs Burghoorn
812d07114c Impr: Use signals to detect when X server is ready 2023-03-30 19:47:33 +02:00
Gijs Burghoorn
d84deacb2b
Add shell_login_flag option in config (#129)
* Add  option in config
* fmt
2023-03-03 23:03:31 +01:00
Gijs Burghoorn
ef562f42ed Dependencies bump 2023-03-03 20:42:14 +01:00
Gijs Burghoorn
e04046f7f1 Update Cargo.lock 2023-03-03 20:34:40 +01:00
Gijs Burghoorn
20826fe158
Remove the dependency on the hex crate (#100)
Remove the dependency on the  crate
2022-11-22 22:35:51 +01:00
Gijs Burghoorn
b31b518a81
Integrate chvt-rs into Lemurs (#99)
Integrate chvt-rs into project
2022-11-22 22:29:09 +01:00
Gijs Burghoorn
dece54a2ed
Remove the dependency on fern and chrono (#98)
Remove fern/chrono deps
2022-11-22 21:46:40 +01:00
Gijs Burghoorn
3d1dba4cc3 Remove regex/lazy_static dependencies 2022-11-22 21:20:09 +01:00
Gijs Burghoorn
1d7690b707 Remove clap dependency 2022-11-22 21:10:27 +01:00
Gijs Burghoorn
bd2d82755b
Next version (#76)
* Caching Post-Login Environment (#75)

* Add a configuration option for focus behaviour (#74)

* Add a configuration option for focus behaviour

* Rust fmt

* Add caching for post login environment

* Fmt

* Clippy

* Fix the status message (#77)

* Fix status message
* Handle render unwraps
* Add comment
* FMT and Clippy

* Switch arg parsing to clap-derive (#78)

* Switch arg parsing to clap-derive
* RustFmt

Co-authored-by: Gijs Burghoorn <g.burghoorn@gmail.com>

* Make nightly the default toolchain

* Enable building with stable toolchain (#79)

* Adjust code so that it builds with stable Rust
* Move unsafety to only wrap the 'pre_exec'
* Fix PERMERR by reordering to set{groups, gid, uid}
* Remove +nightly from install script

Co-authored-by: Gijs Burghoorn <g.burghoorn@gmail.com>

* Add command to show possible environments

* Exclude non-executable environments

* Add subcommand to view cached information

* Add --tty CLI flag to override TTY configuration (#81)

* Add TTY Shell environment (#82)

Add TTY shell environment

* Always display TTYSHELL if no wms are found (#83)

* Add AUR installation instructions (#87)

* File overview in README (#88)

Add file overview in README

* [FIX]: Show TTY Shell on dir misconfiguration (#89)

* Wayland support (#84)

* Get started on wayland support

* Add AUR installation instructions (#87)

* File overview in README (#88)

Add file overview in README

* Working Wayland

* Improve the README to reflect changes

* Version Bump and Document Dependencies

* Change power control commands to systemd

* Change cover image

* Crop cover image

* [FEATURE]: Add UTMPX support

* RUSTFMT and add libc dependency

* UTMPX Support (#90)

* [FEATURE]: Add UTMPX support
* RUSTFMT and add libc dependency

* Clippy and include Cargo.lock

Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com>
2022-11-22 16:30:26 +01:00
Gijs Burghoorn
e46dd7c890
Next version (#42)
* Add maximum width option to input fields (#41)

* Add maximum width option to input fields
* Format input field code

* Fix crash when no graphical environment is specified (#43)

* Catch errors in shutdown and reboot scripts (#45)

* Set PWD upon logging in (#48)

* Set PWD upon logging in
* Fix formatting

* Load the /etc/lemurs/config.toml file (#49)

* Load the /etc/lemurs/config.toml file
* Formatting config.rs

* Load the /etc/lemurs/config.toml file

* Isolate and improve environment variables (#53)

Add the XDG environment variables and isolate the setting of environment
variables to their own module. The TTY is now also settable from the
`config.toml`.

* Add an option to remember the username from the last login (#55)

* Add option to remember the username in /var/cache
* Formatting

* Remove mouse capture (#56)

* Improve install script (#58)

* Change configuration to extend default configuration (#57)

* Change configuration to extend default configuration
* Formatting

* Remove test workflow

* Massively cleanup, small improvements and improve the logging (#60)

- Log path moved from `/tmp/lemurs.log` to `/var/log/lemurs.log`
- Add the `--no-log` flag
- Move the preview log file from `out.log` to `lemurs.log`
- Handle tty switching errors
- Change name config section `wm_selector` to `environment_switcher`
- Change the pam service used from `login` to `system-login`
- Separate all authentication and environment starting logic from the UI logic
- Properly handle X starting errors
- Create an event handling thread so that status messages can now be displayed while processing

* Properly set groups when logging in with X (#72)

* Fix installation file

* Remove creation of Xauthority file

* Dynamically wait for X to start

* Add feature(set_groups)

* Change back to 'login' auth

* Update Cargo.lock

* Update README.md file

* Version bump

* Remove unused code

* Remove unwraps

* Update Cargo.lock

* Fix shared state and InputField

* Fix input box

* Clippy warnings

* Make waiting dependent on time instead of loop count
2022-07-30 19:41:41 +02:00
Gijs Burghoorn
759e6a106c Add basis for configuration 2022-01-03 00:17:59 +01:00
Gijs Burghoorn
2196688dc9 Fix cargo fmt 2022-01-02 15:00:02 +01:00
Gijs Burghoorn
203b0a1e42 Add --preview flag 2022-01-02 12:37:48 +01:00
Gijs Burghoorn
6e70504e68 Remove unused dependencies 2022-01-01 18:47:28 +01:00
Gijs Burghoorn
62f5f88276 Working version 2021-12-31 16:04:29 +01:00
Gijs Burghoorn
5c63bb00ff Initial implementation of PAM 2021-12-29 16:42:58 +01:00
Gijs Burghoorn
3ba23fff7f Input fields and KeyCodes 2021-12-29 15:38:47 +01:00
Gijs Burghoorn
25b421f8bb Start on UI, basic WM selector 2021-12-28 22:50:03 +01:00