Switch TagOverlay to use river_shell_surface_v1
This follows the same patterns that Wallpaper and Bar did and makes TagOverlay use the same manage/render cycle as the rest of the WM. We also switched to just use a poll timer like river-tag-overlay instead of using the timerfd. I realized that the Zig stdlib doesn't actually support timerfds for FreeBSD right now and I don't feel like adding them.
This commit is contained in:
parent
8b8efe2186
commit
3150d1a842
12 changed files with 143 additions and 335 deletions
|
|
@ -195,29 +195,6 @@ tag_overlay {
|
|||
| `square_inactive_border_color` | color | `0x6c7086` | Inactive tag square border |
|
||||
| `square_inactive_occupied_color` | color | `0xcdd6f4` | Inactive tag occupied indicator |
|
||||
|
||||
### Anchors
|
||||
|
||||
The `anchors` child block controls which edge(s) of the screen the overlay
|
||||
attaches to. Each direction is a boolean (`#true` / `#false`). Default: none, i.e. centered on output.
|
||||
|
||||
| Setting | Type | Default |
|
||||
|----------|------|----------|
|
||||
| `top` | bool | `#false` |
|
||||
| `right` | bool | `#false` |
|
||||
| `bottom` | bool | `#false` |
|
||||
| `left` | bool | `#false` |
|
||||
|
||||
### Margins
|
||||
|
||||
The `margins` child block sets pixel offsets from the anchored edge(s).
|
||||
|
||||
| Setting | Type | Default |
|
||||
|----------|------|---------|
|
||||
| `top` | i32 | `0` |
|
||||
| `right` | i32 | `0` |
|
||||
| `bottom` | i32 | `0` |
|
||||
| `left` | i32 | `0` |
|
||||
|
||||
## Keybinds
|
||||
|
||||
Keyboard bindings are placed inside a `keybinds` block. Each binding has the
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ These are in rough order of my priority, though no promises I do them in this or
|
|||
- [ ] Save window positions between restarts
|
||||
- [ ] Support multiple seats
|
||||
- [ ] Support clipping floating windows on edge of/between outputs
|
||||
- [ ] Use per-output timerfds for tag overlay instead of a single shared one
|
||||
- [ ] Support configurable focus-follows-window on send-to-output
|
||||
- [ ] Support configurable prepend/append on send-to-output
|
||||
- [ ] Support taking new output's tags on send-to-output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue