Skip to content

Commit

Permalink
tips-and-tricks.md: update run or raise section
Browse files Browse the repository at this point in the history
  • Loading branch information
Flrian committed Jan 18, 2025
1 parent aa4a148 commit d0d7c88
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/tips-and-tricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,24 @@ if ! wlrctl window focus "$app_id"; then
fi
```

As of labwc version 0.7.2 it is also possible to create a run or raise keybind
with the `ForEach` action.

```
<keybind key="W-F1">
<action name="ForEach">
<query identifier="foot" />
<then>
<action name="Raise" />
<action name="Focus" />
</then>
<none>
<action name="Execute" command="foot" />
</none>
</action>
</keybind>
```

[wlrctl]: https://git.sr.ht/~brocellous/wlrctl
[lswt]: https://sr.ht/~leon_plickat/lswt/
[wlr-foreign-toplevel-management]: https://wayland.app/protocols/wlr-foreign-toplevel-management-unstable-v1
Expand Down

0 comments on commit d0d7c88

Please sign in to comment.