Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Next Release (TBD)

Added support for `no_border` to `windowstate`
Added support for `minimized` to `windowstate`

## v0.2.1 (2023-11-23)

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ These commands either take a window-id argument, or use the window stack.
- shaded
- demands_attention
- no_border
- minimized
- MISSING:
- modal
- sticky
Expand Down
1 change: 1 addition & 0 deletions src/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ Window Action Commands:
SHADED - rolls the window up
DEMANDS_ATTENTION - marks window urgent or needing attention
NO_BORDER - window has no border
MINIMIZED - set minimized state, can toggle between minimize or maximize.

get_desktop_for_window [WINDOW]
Output the desktop number that a window is on.
Expand Down
1 change: 1 addition & 0 deletions src/templates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ pub const WINDOWSTATE_PROPERTIES: phf::Map<&'static str, &'static str> = phf::ph
"shaded" => "shade",
"demands_attention" => "demandsAttention",
"no_border" => "noBorder",
"minimized" => "minimized",
};

pub const STEP_GLOBAL_ACTION: &str = r#"
Expand Down