Hyprland lua config - #10
Merged
Merged
Conversation
Hyprland 0.56 reads a Lua configuration, and it plans to drop the older `.conf` format. Both files that PSLDM ships now use Lua, and install.sh writes the monitor modes as Lua. - `packaging/greetd/hyprland.conf` becomes `hyprland.lua`. It reads the monitor file with `pcall(dofile, ...)`, so a missing file is not an error. The old `source =` line failed in that case. - `packaging/hypr/psldm-lock.conf` becomes `psldm-lock.lua`. - `/etc/psldm/monitors.conf` becomes `/etc/psldm/monitors.lua`, and it holds `hl.monitor` calls. The greeter session also starts the compositor with `start-hyprland`, the watchdog that Hyprland ships. It restarts the compositor after an unclean exit, so a crash brings the greeter back instead of a text console. The greeter still ends the compositor with `hyprctl dispatch exit`, which is a clean exit, so greetd gets control back. `Hyprland --verify-config` reports `config ok` for both files, and for a `monitors.lua` written from a running desktop. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JoZyLsqdiAe7AAqdxvdvti
The screen showed the clock only, and the first key woke the pane. The pane swallowed that key, so the user lost the first character of the password. The pane now puts the character in the field. The field is still sliding in and does not hold the keyboard yet, so the key controller writes the character instead of letting the event through. A new function, `typed_character`, drops a key that types nothing: - A key held with Control, Alt, or Super runs a command somewhere else. - A control character such as Escape or Tab is not part of a password. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JoZyLsqdiAe7AAqdxvdvti
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Switch to the new hyprland lua config. Have the first keystroke reveal the password field, and count as an input.