CI / test (push) Waiting to run
- 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
54 lines
860 B
Plaintext
54 lines
860 B
Plaintext
// Generated using `moon info`, DON'T EDIT IT
|
|
package "chandra/desktop/interface/chandra/desktop/game-library"
|
|
|
|
// Values
|
|
pub fn focus(String) -> Unit
|
|
|
|
pub fn games() -> Array[Game]
|
|
|
|
pub fn launch(String, String) -> Unit
|
|
|
|
pub fn launch_modes() -> Array[LaunchMode]
|
|
|
|
pub fn refresh() -> Unit
|
|
|
|
pub fn status() -> RigStatus
|
|
|
|
pub fn stop(String) -> Unit
|
|
|
|
// Errors
|
|
|
|
// Types and methods
|
|
pub(all) struct Game {
|
|
id : String
|
|
name : String
|
|
category : String
|
|
description : String
|
|
icon : String
|
|
install_hint : String
|
|
featured : Bool
|
|
installed : Bool
|
|
running : Bool
|
|
}
|
|
|
|
pub(all) struct LaunchMode {
|
|
game : String
|
|
id : String
|
|
label : String
|
|
}
|
|
|
|
pub(all) struct RigStatus {
|
|
error : String
|
|
gpu : String
|
|
resolution : String
|
|
display : String
|
|
audio : String
|
|
hostname : String
|
|
connected : Bool
|
|
audio_ok : Bool
|
|
}
|
|
|
|
// Type aliases
|
|
|
|
// Traits
|