Commit graph

119 commits

Author SHA1 Message Date
Gijs Burghoorn
acdd0ec58b Reverse using let-else for lower MSRV 2022-11-22 21:07:52 +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
3a96b066c3 Update README 2022-07-30 19:45:24 +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
eca3eb62a2
Update README.md 2022-01-05 21:07:36 +01:00
Gijs Burghoorn
f99d3c0f24 Add other F keys 2022-01-05 21:06:46 +01:00
Gijs Burghoorn
6a6595d411 Update cover image 2022-01-05 21:02:57 +01:00
Gijs Burghoorn
3c06176e88
Merge pull request #36 from coastalwhite/shutdown-reboot
Add PowerMenu
2022-01-05 21:02:21 +01:00
Gijs Burghoorn
e60dc7e387 Fix rustfmt 2022-01-05 21:00:43 +01:00
Gijs Burghoorn
65c8145aec Add powermenu 2022-01-05 20:58:30 +01:00
Gijs Burghoorn
5878db8352 Fix install script 2022-01-05 20:07:01 +01:00
Gijs Burghoorn
b4fdd9955f
Merge pull request #27 from coastalwhite/configuration
Add basis for configuration
2022-01-05 20:05:40 +01:00
Gijs Burghoorn
73db1236c7 Fix input field test 2022-01-05 20:03:09 +01:00
Gijs Burghoorn
410dc53db9 Improve configuration documentation 2022-01-05 19:58:43 +01:00
Gijs Burghoorn
870a8226f3 Fix rustfmt and clippy 2022-01-04 21:54:27 +01:00
Gijs Burghoorn
9f74ccae70 No environment without focus to white 2022-01-04 21:49:30 +01:00
Gijs Burghoorn
bb3b3309c8 Fix preview and config flag 2022-01-04 21:49:00 +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
6217410416
Merge pull request #26 from coastalwhite/input-field-scroll
Add scrolling to input fields
2022-01-02 15:52:20 +01:00
Gijs Burghoorn
08553e1ce8 Fix input field tests 2022-01-02 15:49:18 +01:00
Gijs Burghoorn
4974d9079c Add scrolling to input fields
This removes the overflowing of the input fields and adds the
possibility to scroll between the invisible characters with the left and
right arrows.
2022-01-02 15:47:22 +01:00
Gijs Burghoorn
02876807fc
Merge pull request #24 from coastalwhite/wm-selector
Update Window Manager selector
2022-01-02 15:09:31 +01:00
Gijs Burghoorn
38f39753e0 Fix clippy 2022-01-02 15:07:55 +01:00
Gijs Burghoorn
2196688dc9 Fix cargo fmt 2022-01-02 15:00:02 +01:00
Gijs Burghoorn
fcb4bf351f
Merge pull request #25 from coastalwhite/github-ci
Add Rust CI
2022-01-02 14:57:13 +01:00
Gijs Burghoorn
662bceb5b4 Remove logind_dbus dependency 2022-01-02 14:55:12 +01:00
Gijs Burghoorn
970ee48c61 Add Rust CI 2022-01-02 14:48:48 +01:00
Gijs Burghoorn
e3511d24e1 Clean up code, Cutoff -> 8 2022-01-02 14:41:58 +01:00
Gijs Burghoorn
8ff9415397 Generalize padding and fix underline 2022-01-02 14:35:06 +01:00
Gijs Burghoorn
94fcbddb21 Fix tests 2022-01-02 14:13:57 +01:00
Gijs Burghoorn
3d67a81db7 Update Window Manager selector
The WM selector now doesn't circle around anymore and is a lot more
pleasant to look at and use.
2022-01-02 14:10:25 +01:00
Gijs Burghoorn
203b0a1e42 Add --preview flag 2022-01-02 12:37:48 +01:00
Gijs Burghoorn
7d2b157ed6 Clean up code for 0.1.0 2022-01-01 20:25:18 +01:00
Gijs Burghoorn
759b88387d Remove even more login text 2022-01-01 19:52:49 +01:00
Gijs Burghoorn
5632bf765d Fix authentication thread 2022-01-01 19:52:31 +01:00
Gijs Burghoorn
9d9f30cb86 Remove unused import 2022-01-01 19:34:18 +01:00
Gijs Burghoorn
eb9c089874 Fix text appearing on login 2022-01-01 19:33:55 +01:00
Gijs Burghoorn
9f794fea20 Made authentication happen on seperate thread 2022-01-01 19:30:12 +01:00
Gijs Burghoorn
e6e549c66c Fill in Cargo.toml 2022-01-01 18:54:58 +01:00
Gijs Burghoorn
fda298417d Clean up x.rs and UI code 2022-01-01 18:49:37 +01:00
Gijs Burghoorn
6e70504e68 Remove unused dependencies 2022-01-01 18:47:28 +01:00
Gijs Burghoorn
d37701f75b Clean up pam.rs 2022-01-01 18:45:29 +01:00
Gijs Burghoorn
563f16aa3f Refactor initrcs.rs to handle errors 2022-01-01 18:39:22 +01:00
Gijs Burghoorn
ed62ac24b9 UI code cleanup 2022-01-01 01:31:40 +01:00
Gijs Burghoorn
3ce5d1a1ea Move UI code to own Module 2021-12-31 23:48:58 +01:00
Gijs Burghoorn
319247ec11 Add Usage chapter 2021-12-31 20:13:45 +01:00
Gijs Burghoorn
f6bde9a884 Add license text 2021-12-31 20:13:45 +01:00
Gijs Burghoorn
8c0eaf24a3 Add install script 2021-12-31 20:13:45 +01:00