Skip to content

Commit 28ceb4e

Browse files
FlrianConsolatis
authored andcommitted
tips-and-tricks.md: update run or raise section
1 parent aa4a148 commit 28ceb4e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/tips-and-tricks.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,24 @@ if ! wlrctl window focus "$app_id"; then
9797
fi
9898
```
9999

100+
As of labwc version 0.7.2 it is also possible to create a run or raise keybind
101+
with the `ForEach` action.
102+
103+
```
104+
<keybind key="W-F1">
105+
<action name="ForEach">
106+
<query identifier="foot" />
107+
<then>
108+
<action name="Raise" />
109+
<action name="Focus" />
110+
</then>
111+
<none>
112+
<action name="Execute" command="foot" />
113+
</none>
114+
</action>
115+
</keybind>
116+
```
117+
100118
[wlrctl]: https://git.sr.ht/~brocellous/wlrctl
101119
[lswt]: https://sr.ht/~leon_plickat/lswt/
102120
[wlr-foreign-toplevel-management]: https://wayland.app/protocols/wlr-foreign-toplevel-management-unstable-v1

0 commit comments

Comments
 (0)