tiiuae / ghaf

TII SSRC Secure Technologies: Ghaf Framework
https://tiiuae.github.io/ghaf/
Apache License 2.0
39 stars 58 forks source link

Improved autolock functionality, relocated styles #858

Closed kajusnau closed 1 week ago

kajusnau commented 2 weeks ago

Description of changes

  1. Improved Autolock Functionality:

    • Previously, when inactive for 5 minutes, the screen would dim to low brightness and return to 100% brightness for a moment before locking. This behavior should be fixed now - the transition from dimming to the lock screen should now be smooth.
    • Can be tested by letting system idle for 5 minutes or replacing ${builtins.toString cfg.autolock.duration} with desired time in seconds in /modules/desktop/graphics/labwc.config.nix:267.
  2. Relocated Styles:

    • Moved the definitions for the lock screen, login screen, and app launcher styles into the dedicated styles directory.
  3. Updated Default Lock Behavior:

    • Changed the default lock behavior to use loginctl. Loginctl lock-session behavior is defined in labwc.config lock-event service.

Checklist for things done

Instructions for Testing

johannarautanen commented 1 week ago

Tested on Lenovo-X1 (flashed to the SSD) (commit:18140af5da6319c01f9f87909d5c71ab4272d783) Used the default "5 minute inactive"-time during testing.

Working:

No new findings.