add {toggle,set,unset}-urgent cli actions

This commit is contained in:
Duncan Overbruck
2025-03-27 19:38:14 +01:00
committed by Ivan Molodetskikh
parent 398bc78ea0
commit 9d3d7cb0e9
3 changed files with 58 additions and 0 deletions
+18
View File
@@ -803,6 +803,24 @@ pub enum Action {
OpenOverview {},
/// Close the Overview.
CloseOverview {},
/// Toggle urgent status of a window.
ToggleUrgent {
/// Id of the window to toggle urgent.
#[cfg_attr(feature = "clap", arg(long))]
id: u64,
},
/// Set urgent status of a window.
SetUrgent {
/// Id of the window to set urgent.
#[cfg_attr(feature = "clap", arg(long))]
id: u64,
},
/// Unset urgent status of a window.
UnsetUrgent {
/// Id of the window to unset urgent.
#[cfg_attr(feature = "clap", arg(long))]
id: u64,
},
}
/// Change in window or column size.