Commit graph

55 commits

Author SHA1 Message Date
Johan Malm
289c784d5e theme: document setting iconify/close/max colors separately 2021-08-22 19:11:54 +01:00
Johan Malm
b7573c8d36 rcxml: load default keybinds on <keyboard><default />
This is an addition to the openbox specification and provides a way to
keep config files simpler whilst allowing user-specific keybinds.

docs/rc.xml shows a simple config file with <default />
docs/rc.xml.full shows the full config
2021-08-22 19:09:31 +01:00
Johan Malm
a6eb29ad33 config: add <core><gap>
Specify the distance in pixels between views and output edges when using
movement actions such as MoveToEdge
2021-08-22 14:32:19 +01:00
Johan Malm
3990018bb9 config: support setting menu item font
In rc.xml, support

<font place="MenuItem">
  <name></name>
  <size></size>
</font>
2021-08-20 20:27:52 +01:00
Johan Malm
0e57c65393 docs/environment: add example for keyboard toggle 2021-08-09 17:26:50 +01:00
Johan Malm
93c9ec6683 Update man pages 2021-07-20 20:06:48 +01:00
Johan Malm
49a73befdb action: add 'MoveToEdge'
Currently only moves view to edges of outputs

Example keybind:

<keybind key="A-Left">
  <action name="MoveToEdge">
    <direction>left</direction>
  </action>
</keybind>
2021-07-20 19:54:57 +01:00
Johan Malm
2e4f931469 rcxml: allow <theme><font> without place="" attribute
The construct below will set the font for all supported places. Currently
that's only ActiveWindow, but is likely to include InactiveWindow,
MenuHeader, MenuItem and OnScreenDisplay at some point.

<theme>
  <font>
    <name></name>
    <size></size>
  </font>
</theme>
2021-07-19 20:46:32 +01:00
Johan Malm
8a2cacdb6f docs/rc.xml: comply with new syntax 2021-07-16 18:18:09 +01:00
Johan Malm
b31c1c4b75 rcxml: change <lab><xdg_shell_server_side_deco> to <core><decoration> 2021-07-16 17:38:17 +01:00
Johan Malm
a9b46131ab rcxml: use root-node <labwc_config> 2021-07-16 17:30:07 +01:00
Johan Malm
c668fd9b07 action: add "ToggleMaximize" 2021-07-13 21:54:22 +01:00
Johan Malm
eaed1a3cab action: add "Close" to close top-most view 2021-07-12 21:47:27 +01:00
Johan Malm
9fa783e7b4 Add labwc.desktop (issue #36) 2021-07-12 21:41:12 +01:00
Johan Malm
0811c0c37d labwc-config(5): add followMouse and raiseOnFocus 2021-05-28 21:50:27 +01:00
Johan Malm
85c775c3b1 theme: update built-in theme colors
Use #dddad6 for active title/border and #f6f5f4 for inactive.
It matches default GTK colors reasonably well.
2021-04-10 19:30:39 +01:00
Johan Malm
31d3a53e46 theme: add window.active.border.color
This replaces window.active.handle.bg.color which will no longer be
supported.
2021-04-10 18:40:43 +01:00
Johan Malm
d30a789fed labwc(1): minor re-wording 2021-04-10 09:19:35 +01:00
Johan Malm
bad3311ae5 Add example autostart and environment files 2021-04-10 09:18:30 +01:00
Johan Malm
fbfa0c4a9e Add labwc-environment(5) 2021-04-10 09:17:41 +01:00
Johan Malm
a5139815d6 config: add <theme><cornerRadius> 2021-03-30 22:39:52 +01:00
Johan Malm
b3a73a9fdc theme: support border.width 2021-03-27 21:09:45 +00:00
Johan Malm
2061c6af14 Add labwc-menu(5) 2021-03-19 21:20:54 +00:00
Johan Malm
5a36fef547 Convert man pages from md to scd 2021-03-05 22:14:02 +00:00
Johan Malm
db4249dcc4 themerc: fix syntax inconsistency 2021-03-04 20:30:23 +00:00
Johan Malm
b50e8cbd0f rc.xml: add A-F3 for bemenu-run to reflect defaults 2021-03-04 20:29:28 +00:00
Johan Malm
4f0c24d26e menu.xml: format XML better 2021-03-04 20:28:38 +00:00
Jan Beich
945ae1cf55 docs: move manpages to proper section directories
Arbitrary sections may not be supported by all man(1) implementations.
labwc manpages have numeric sections but installed in the wrong place:

$ meson setup --prefix=/usr _build && meson install -C _build
[...]
Installing docs/labwc.1 to /usr/share/man/man.1
Installing docs/labwc-config.5 to /usr/share/man/man-config.5
Installing docs/labwc-theme.5 to /usr/share/man/man-theme.5
Installing docs/labwc-actions.5 to /usr/share/man/man-actions.5
[...]
2021-03-04 08:40:36 +00:00
Jan Beich
2dd5fce844 Add man-pages option like swaywm/sway@ba16f16e4d 2021-03-04 06:35:15 +00:00
Johan Malm
b9d6ce324f Set default A-F3 binding to bemenu instead of dmenu 2021-03-01 18:40:11 +00:00
Johan Malm
e4deb03173 Add docs/menu.xml 2021-02-17 21:08:38 +00:00
Johan Malm
bc04f50d14 Add basic menu theme options 2021-02-16 20:43:20 +00:00
Johan Malm
529d7016f2 config: change default font size from 8 to 10 2020-12-30 10:44:57 +00:00
Johan Malm
1a34eba43e docs/rc.xml: use Clearlooks-3.4 2020-11-23 21:23:33 +00:00
Johan Malm
543f00131c action: add "ShowMenu" option
Parse the following in rc.xml:

<keyboard>
  <keybind key="">
    <action name="ShowMenu">
      <menu>root-menu</menu>
    </action>
  </keybind>
</keyboard>
2020-10-31 15:27:22 +00:00
Johan Malm
93145ebc2a main: add -v option 2020-10-23 20:08:56 +01:00
Johan Malm
7dc5643bd6 docs/rc.xml: move <font> to right section 2020-10-22 19:40:57 +01:00
Johan Malm
a99f4a30c8 labwc(1): fix formatting 2020-10-09 19:56:48 +01:00
Johan Malm
6b4b5abf5c docs/rc.xml: remove <lab><keyboard> 2020-10-09 19:52:19 +01:00
Johan Malm
138251abbe Update man pages 2020-10-08 21:18:09 +01:00
Johan Malm
56ce0893e0 Move data/* to docs/ 2020-09-28 21:09:19 +01:00
Johan Malm
6bcbd74c1a labwc-theme(5): add "Reconfigure" 2020-09-28 20:56:37 +01:00
Johan Malm
96b5ab1fc1 labwc(1): add note on SIGHUP 2020-09-25 20:35:48 +01:00
Johan Malm
35ff6e5bb0 rcxml: s/csd/xdg_shell_server_side_deco 2020-09-15 21:10:02 +01:00
Johan Malm
92f6afdf65 rcxml: amend default keybinds
A-F2 to cycle view
A-F3 to launch dmenu_run
2020-09-11 20:51:25 +01:00
Johan Malm
1b65456f8c labwc(1): add references to new man pages 2020-09-03 21:06:30 +01:00
Johan Malm
98c556be2a Split labwc(5) into {-config, -theme, -actions} 2020-09-02 21:09:38 +01:00
Johan Malm
7afc189c06 common/dir.c: do not include openbox/ dirs
It is better to be explicit with config files and only using those
specifically intended for labwc. Whilst compatibility with openbox is
intended, there are areas where it just doesn't make sense to include
settings intended for openbox, for example in the case of
$HOME/.config/openbox/autostart

With built-in icons and theme/config settings, it should be easy for new
users to get started without spending time on config files anyway.
2020-08-31 08:17:34 +01:00
Johan Malm
9fc6e27252 labwc.1.md: fix typo 2020-08-18 20:03:52 +01:00
Johan Malm
d3e9f9a07f Update labwc(1) and labwc(5) 2020-08-07 20:35:18 +01:00