Add toggle-window-rule-opacity action

This commit is contained in:
Ivan Molodetskikh
2025-01-23 10:40:52 +03:00
parent b01b8afa8c
commit a10705fb20
13 changed files with 115 additions and 2 deletions
+12
View File
@@ -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.