Commit graph

115 commits

Author SHA1 Message Date
Gijs Burghoorn
812d07114c Impr: Use signals to detect when X server is ready 2023-03-30 19:47:33 +02:00
Gijs Burghoorn
f3f5cd0d1c Fix: working directory in env_container 2023-03-30 19:44:36 +02:00
Gijs Burghoorn
e39f5b5181 Fix: Include KeyModifier ALT for BackTab detection in TTY 2023-03-30 18:59:23 +02:00
Luke Else
e9cff90b20 Replaced Normal Mode keybinding in unreachable match arm 2023-03-29 20:37:57 +02:00
Luke Else
d518096a27 Add additional key press checks to allow power menu functionality when focussed on a text window 2023-03-29 20:37:57 +02:00
Gijs Burghoorn
60fda2abc3 [NEW]: Add config variable to set the X11 DISPLAY 2023-03-09 20:04:26 +01:00
Gijs Burghoorn
c9d071f6cf [FIX]: Unset the DISPLAY variable for non-X11 2023-03-09 19:54:07 +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
c64f69ccf8
Merge Version 0.3.1
This version contains many quality-of-life changes along with some features. This is the final release before a larger refactor.
- Remove many unnecessary dependencies (`clap`, `lazy_static`, `regex`, `fern`, `chrono`, `chvt`, `hex`)
- Fix `.Xauthority` ownership bug
- Fix `XDG_SESSION_ID` bug
- Fix input field crashing on certain UTF-8 characters
- Configurable `pam_service` and own `lemurs.pam` service
- Better error handling and logging. Thus, easier debugging.
2023-03-03 20:48:36 +01:00
Gijs Burghoorn
f248f11c04 Version change to 0.3.1 2023-03-03 20:47:45 +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
0c40e91164 Move cover.png to 'assets' folder 2023-03-03 20:27:18 +01:00
Gijs Burghoorn
d5f7634074 Bump version 2023-03-03 20:23:54 +01:00
Gijs Burghoorn
9818bc007f Fix lemurs.pam to use include 2023-03-03 20:22:14 +01:00
Gijs Burghoorn
29b07f8eb3 Fix install script caching 2023-03-03 20:20:40 +01:00
Gijs Burghoorn
8a1f3fe44a Remove Xauthority from install script 2023-03-03 20:16:09 +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
0cfedf0102 Add assets and doc 2023-02-17 14:50:08 +01:00
Gijs Burghoorn
f6a0f2ec9d Adjust the README 2023-02-17 14:49:32 +01:00
Gijs Burghoorn
f06b8f4b60
Fix: Input Field's handling of UTF-8 (#120)
* Clear password input even on successful login (#112)

[FIX]: Clear password input even on succesful login
* fix: input fields handling of utf8
* fix: input rendering of utf8
2023-02-01 20:07:42 +01:00
Gijs Burghoorn
bb2a93638b Merge branch 'main' into develop 2023-02-01 20:05:48 +01:00
Gijs Burghoorn
0555485058 clippy: fix errors 2023-01-27 19:43:14 +01:00
Gijs Burghoorn
d2c2c8b627 config: make pam_service configurable 2023-01-27 19:34:33 +01:00
Gijs Burghoorn
4c87d93d1b
Fix XDG Session Variables (#116)
* Add environment container to abstract environment
* Proper implementation
* Clippy and FMT
* Use  on shell
2023-01-25 16:11:59 +01:00
Gijs Burghoorn
3ec31f4263
Clear password input even on successful login (#112)
[FIX]: Clear password input even on succesful login
2023-01-09 22:01:14 +01:00
Gijs Burghoorn
513de3ce76
Add build-essential and MSRV policy to README 2022-12-22 17:04:46 +01:00
Gijs Burghoorn
c5d77ed732 Merge branch 'main' into develop 2022-12-15 19:35:04 +01:00
Gijs Burghoorn
f3aea8bb14
Fix UTMPX compile failure on certain platforms (#106)
* Change UTMPX libc usage to be more general
* Cargo FMT
2022-12-15 19:31:53 +01:00
Gijs Burghoorn
91723ed472 Add error message to X time out 2022-12-09 18:05:11 +01:00
Gijs Burghoorn
ed7529ff71 Make Xauthority file owned by user 2022-12-09 00:08:49 +01:00
Gijs Burghoorn
23a0faa795 Remove clippy errors 2022-12-05 20:48:06 +01:00
Gijs Burghoorn
41713c74e0 Cargo fmt 2022-12-05 20:40:04 +01:00
Gijs Burghoorn
a407350c0b Add already running and root checks 2022-12-05 20:38:37 +01:00
Gijs Burghoorn
fdbda592e2 Move 'Setup logger' message to within if 2022-12-05 20:20:06 +01:00
Gijs Burghoorn
d590b76e84 Clean up and improve post_login module logging 2022-12-05 20:19:15 +01:00
Gijs Burghoorn
2bfc64fa05 Move utmpx entry creation to outside match 2022-12-05 19:42:01 +01:00
Gijs Burghoorn
37f773b330
Update the installation instructions 2022-12-05 19:37:10 +01:00
Gijs Burghoorn
67ffe16767
Add platforms section in README 2022-12-02 19:26:14 +01:00
Gijs Burghoorn
5e3530f9a2
Actually remove references to the hex crate (#101)
* Remove the dependency on the  crate

* [FIX]: Actually remove calls to hex
2022-11-22 22:37:35 +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
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