add the expose plugin

This commit is contained in:
fdev31 2023-05-16 18:30:36 +02:00
parent d340ae00c7
commit 1ecfa3443c
2 changed files with 76 additions and 0 deletions

View file

@ -31,6 +31,7 @@ A single config file `~/.config/hypr/pyprland.json` is used, using the following
- `scratchpads` implements dropdowns & togglable poppups
- `monitors` allows relative placement of monitors depending on the model
- `expose` easily switch between scratchpads and active workspace
- `workspaces_follow_focus` provides commands and handlers allowing a more flexible workspaces usage on multi-monitor setups. If you think the multi-screen behavior of hyprland is not usable or broken/unexpected, this is probably for you.
- `lost_windows` brings lost floating windows to the current workspace
- `toggle_dpms` toggles the DPMS status of every plugged monitor
@ -89,6 +90,30 @@ Create a configuration file in `~/.config/hypr/pyprland.json` enabling a list of
}
```
# Plugin: `expose`
Moves the focused window to some (hidden) special workspace and back with one command.
### Command
- `toggle_minimized [name]`: moves the focused window to the special workspace "name", or move it back to the active workspace.
If none set, special workspace "minimized" will be used.
- `expose`: expose every client on the active workspace. If expose is active restores everything and move to the focused window
Example usage in `hyprland.conf`:
```
bind = $mainMod, N, exec, pypr toggle_minimized
```
### Configuration
#### `include_special` (optional, defaults to false)
Also include windows in the special workspaces during the expose.
# Plugin: `shift_monitors`
Swaps the workspaces of every screen in the given direction.