]> git.mdlowis.com Git - proto/labwc.git/commit
action: add toggle for GoToDesktop
authorRainer Kuemmerle <rainer.kuemmerle@gmail.com>
Sat, 8 Mar 2025 18:28:57 +0000 (19:28 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 26 Aug 2025 20:03:06 +0000 (21:03 +0100)
commit657c08aaa1c139ae13561e0fbd939c0355fa2c15
tree07fe6e794e57e32dcd65d59653c9dd4482a131a6
parent55ee96761a047de6592f18ecdc9c3e4bff06ea37
action: add toggle for GoToDesktop

Adds an option "toogle" to GoToDesktop.
In case the target is already where we are, we go back to the last desktop
instead.

Example of rc.xml

<keybind key="C-F1">
  <action name="GoToDesktop">
    <to>1</to>
    <toggle>yes</toggle>
  </action>
</keybind>
docs/labwc-actions.5.scd
src/action.c