mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
Add toggle-window-rule-opacity action
This commit is contained in:
@@ -578,6 +578,18 @@ pub enum Action {
|
||||
)]
|
||||
y: PositionChange,
|
||||
},
|
||||
/// Toggle the opacity of a window.
|
||||
#[cfg_attr(
|
||||
feature = "clap",
|
||||
clap(about = "Toggle the opacity of the focused window")
|
||||
)]
|
||||
ToggleWindowRuleOpacity {
|
||||
/// Id of the window.
|
||||
///
|
||||
/// If `None`, uses the focused window.
|
||||
#[cfg_attr(feature = "clap", arg(long))]
|
||||
id: Option<u64>,
|
||||
},
|
||||
}
|
||||
|
||||
/// Change in window or column size.
|
||||
|
||||
Reference in New Issue
Block a user