feat: implement scratchpad window toggling
This commit is contained in:
parent
5c2f631fdb
commit
d756c8a6a2
17 changed files with 515 additions and 3 deletions
|
|
@ -205,6 +205,13 @@ impl Window {
|
|||
get!().set_window_workspace(self, workspace)
|
||||
}
|
||||
|
||||
/// Sends the window to a scratchpad.
|
||||
///
|
||||
/// Use an empty string for the default scratchpad.
|
||||
pub fn send_to_scratchpad(self, name: &str) {
|
||||
get!().window_send_to_scratchpad(self, name)
|
||||
}
|
||||
|
||||
/// Toggles whether the currently focused window is fullscreen.
|
||||
pub fn toggle_fullscreen(self) {
|
||||
self.set_fullscreen(!self.fullscreen())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue