- Lock the session from the power button or `chandra-ctl lock` - Unlock with a face or the password; the password always works - Add compositor lock module with tests, and a polkit unlock policy (org.chandra.unlock) - Document the lock flow in docs/lock.md and link it from the README - Add generated interface bindings for the compositor and widget components
This commit is contained in:
1 parent
7501fc3ad9
commit
c790f96e58
131 files changed
+4693
-274
No files matched your search
@@ -0,0 +1,63 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/lib/starfield"
|
||||
|
||||
import {
|
||||
"chandra/desktop/interface/chandra/desktop/theme",
|
||||
"chandra/desktop/interface/chandra/desktop/types",
|
||||
"moonbitlang/core/debug",
|
||||
}
|
||||
|
||||
// Values
|
||||
pub let density_choices : Array[String]
|
||||
|
||||
pub let frame_ms : UInt32
|
||||
|
||||
pub let motion_choices : Array[String]
|
||||
|
||||
pub let speed_choices : Array[String]
|
||||
|
||||
pub let state : Field
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
#derive(Eq, @debug.Debug)
|
||||
pub(all) struct ConfigEntry {
|
||||
key : String
|
||||
label : String
|
||||
choices : Array[String]
|
||||
value : String
|
||||
}
|
||||
|
||||
pub(all) struct Field {
|
||||
stars : Array[Star]
|
||||
mut seed : UInt32
|
||||
mut speed : String
|
||||
mut density : String
|
||||
mut motion : String
|
||||
mut boost : Double
|
||||
mut pulse : Double
|
||||
mut cx : Double
|
||||
mut cy : Double
|
||||
mut tx : Double
|
||||
mut ty : Double
|
||||
mut w : Int32
|
||||
mut h : Int32
|
||||
mut last : Int32
|
||||
mut frames : Int32
|
||||
}
|
||||
pub fn Field::animating(Self) -> Bool
|
||||
pub fn Field::config_items(Self) -> Array[ConfigEntry]
|
||||
pub fn Field::handle(Self, @types.InputEvent) -> Bool
|
||||
pub fn Field::new() -> Self
|
||||
pub fn Field::render(Self, @types.Size, @theme.Tokens) -> Array[@types.DrawOp]
|
||||
pub fn Field::scroll(Self, Int32) -> Bool
|
||||
pub fn Field::set_config(Self, String, String) -> Bool
|
||||
pub fn Field::step(Self, Double) -> Unit
|
||||
pub fn Field::tick(Self, UInt32) -> UInt32
|
||||
|
||||
type Star
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
Reference in new issue
Block a user