Commit graph

18 commits

Author SHA1 Message Date
Gijs Burghoorn
a310466e68 Impr: Properly integrate no-log with xorg/client log 2023-03-30 22:02:40 +02:00
Gijs Burghoorn
64ea11a38a Fix: Stdout, Stderr of client & Xserver to file
This fixes the outstanding issue that quitting your client did not
return you to Lemurs.
2023-03-30 22:02:40 +02:00
Gijs Burghoorn
202b132739 Impr: Make Xserver timeout configurable 2023-03-30 19:47:33 +02:00
Gijs Burghoorn
60fda2abc3 [NEW]: Add config variable to set the X11 DISPLAY 2023-03-09 20:04:26 +01: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
9818bc007f Fix lemurs.pam to use include 2023-03-03 20:22:14 +01:00
Gijs Burghoorn
016da062d6 Change default service to lemurs 2023-03-03 20:07:23 +01:00
Gijs Burghoorn
6def9f2da0 Cleanup for release 2023-03-03 20:06:55 +01:00
Gijs Burghoorn
d2c2c8b627 config: make pam_service configurable 2023-01-27 19:34:33 +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
d65b1c3fdd
Add a configuration option for focus behaviour (#74)
* Add a configuration option for focus behaviour

* Rust fmt
2022-08-01 13:25:41 +02: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
65c8145aec Add powermenu 2022-01-05 20:58:30 +01:00
Gijs Burghoorn
410dc53db9 Improve configuration documentation 2022-01-05 19:58:43 +01:00
Gijs Burghoorn
9f74ccae70 No environment without focus to white 2022-01-04 21:49:30 +01:00
Gijs Burghoorn
22505a57fd Integrate configuration into UI 2022-01-04 21:36:49 +01:00
Gijs Burghoorn
759e6a106c Add basis for configuration 2022-01-03 00:17:59 +01:00
Gijs Burghoorn
5e57289de8 Move additional files to /extra dir 2021-12-31 16:04:00 +01:00