roguauto 1.0.0

A lightweight power menu for Wayland compositors supporting wlr-layer-shell.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (C) 2026 ac5307
// SPDX-License-Identifier: GPL-3.0-or-later

use crate::{daemon::command::DaemonCommand, power::PowerAction};

#[derive(Debug)]
pub enum AppEvent {
  /// A command received through the daemon socket
  DaemonCommand(DaemonCommand),

  /// Completion of an asynchronous power action.
  PowerActionFinished {
    action: PowerAction,
    result: Result<(), Box<str>>,
  },
}