labwc/docs
tokyo4j 713b1d8a13 osd: make window switcher more Openbox-like in terms of key precessing
Before this commit, keystrokes were interpreted based on following
hard-coded rules while the window switcher is active:

  1. Up/Left arrow keys cycle the window forward.
  2. Down/Right arrow keys cycle the window backward.
  3. Other keystrokes cycle the window in the initial direction specified
     by NextWindow/PreviousWindow actions. But while Shift key is pressed,
     the direction is inverted.

...and keybind actions were never executed.

However, this lead to a counter-intuitive behavior for new, especially
pre-Openbox users. For example, in the following keybinds, after the user
activates the window switcher with Super+n, Super+p cycles the window
_forward_:

  <keybind key="W-n">
    <action name="NextWindow" />
  </keybind>
  <keybind key="W-p">
    <action name="PreviousWindow" />
  </keybind>

This is because the key 'n' is recognized just as a normal key in the
third hard-coded rule.

So this commit changes the rules to be more Openbox-like:

  1. Up/Left arrow keys cycles the window forward.
  2. Down/Right arrow keys cycles the window backward.
  3. Other keystrokes are matched against keybinds and execute their
     actions. If they include NextWindow/PreviousWindow action, it cycles
     the selected window forward/backward even while the window switcher
     is active.
2025-01-03 10:51:26 +09:00
..
autostart docs/autostart: use wlopm with * 2022-05-04 21:52:20 +01:00
environment docs/environment: remove example MOZ_ENABLE_WAYLAND=1 2024-12-12 20:13:10 +00:00
labwc-actions.5.scd osd: make window switcher more Openbox-like in terms of key precessing 2025-01-03 10:51:26 +09:00
labwc-config.5.scd rcxml: add core.autoEnableOutputs option 2024-12-31 16:32:42 +00:00
labwc-menu.5.scd client send to menu 2024-09-19 06:36:27 +01:00
labwc-theme.5.scd menu: support borders 2024-11-25 19:41:07 +00:00
labwc.1.scd desktop-entry: demote libsfdo error-logging 2024-12-30 23:39:02 +01:00
menu.xml client send to menu 2024-09-19 06:36:27 +01:00
meson.build docs: add example shutdown file 2024-06-01 23:53:34 +02:00
rc.xml docs/rc.xml: remove gap from the example config 2024-02-28 20:51:17 +00:00
rc.xml.all rcxml: add core.autoEnableOutputs option 2024-12-31 16:32:42 +00:00
README xwayland: support xinitrc scripts to configure server on launch (#1963) 2024-07-20 09:40:11 +01:00
shutdown docs: add example shutdown file 2024-06-01 23:53:34 +02:00
themerc menu: support borders 2024-11-25 19:41:07 +00:00
xinitrc xwayland: support xinitrc scripts to configure server on launch (#1963) 2024-07-20 09:40:11 +01:00

Config layout for ~/.config/labwc/
- autostart
- environment
- menu.xml
- rc.xml
- shutdown
- themerc-override
- xinitrc

See `man labwc-config and `man labwc-theme` for further details.