moon-plasma / moonplasma / MoonPlasma / Moon Plasma become chandra / Chandra everywhere: the WIT package (chandra:desktop, chandra:host, chandra:wm), the MoonBit module (chandra/desktop) and generated bindings, the Rust host, identifiers (ChandraCompositor), the session script (chandra-session) and desktop entry (chandra.desktop), config and data paths ($XDG_CONFIG_HOME/chandra, share/chandra/modules), env vars (CHANDRA_*), UI strings, docs and tests. The test fixture components are rebuilt against the renamed WIT. Saved panel.edn and state.edn are still read from the old $XDG_CONFIG_HOME/moon-plasma until the first save writes the new copy. The remote repository keeps its experiments/moon-plasma name for now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hi3L9oVBoRd373Qr4n
This commit is contained in:
323 files changed
+1055
-1013
No files matched your search
@@ -17,8 +17,8 @@ let key_rsuper : UInt32 = 126
|
||||
|
||||
///|
|
||||
/// Handle a key for Super+D. Returns true when the key is consumed (not for clients).
|
||||
fn MoonPlasmaCompositor::show_desktop_key(
|
||||
self : MoonPlasmaCompositor,
|
||||
fn ChandraCompositor::show_desktop_key(
|
||||
self : ChandraCompositor,
|
||||
code : UInt32,
|
||||
pressed : Bool,
|
||||
) -> Bool {
|
||||
@@ -45,8 +45,8 @@ fn MoonPlasmaCompositor::show_desktop_key(
|
||||
|
||||
///|
|
||||
/// Minimize all visible windows of the active workspace, or restore the ones Super+D hid.
|
||||
pub fn MoonPlasmaCompositor::toggle_show_desktop(
|
||||
self : MoonPlasmaCompositor,
|
||||
pub fn ChandraCompositor::toggle_show_desktop(
|
||||
self : ChandraCompositor,
|
||||
) -> Unit {
|
||||
let visible = self.wm.stacking_order()
|
||||
if visible.length() == 0 {
|
||||
@@ -92,6 +92,6 @@ pub fn MoonPlasmaCompositor::toggle_show_desktop(
|
||||
|
||||
///|
|
||||
/// True while Super+D has windows hidden that another Super+D would bring back.
|
||||
pub fn MoonPlasmaCompositor::desktop_shown(self : MoonPlasmaCompositor) -> Bool {
|
||||
pub fn ChandraCompositor::desktop_shown(self : ChandraCompositor) -> Bool {
|
||||
self.desktop_hidden.length() > 0 && self.wm.stacking_order().length() == 0
|
||||
}
|
||||
Reference in new issue
Block a user