Commit graph

66 commits

Author SHA1 Message Date
Johan Malm
417763e8f8 config: support audio and monitor keys by default
Add default keybinds:

    XF86_AudioLowerVolume - amixer sset Master 5%-
    XF86_AudioRaiseVolume - amixer sset Master 5%+
    XF86_AudioMute - amixer sset Master toggle
    XF86_MonBrightnessUp - brightnessctl set +10%
    XF86_MonBrightnessDown - brightnessctl set 10%-
2021-10-14 19:37:57 +01:00
Johan Malm
960a1bb2ed theme: add osd colors 2021-10-13 21:29:32 +01:00
Johan Malm
4738e26d15 theme: handle border.color for backward compatibility 2021-09-24 21:26:31 +01:00
Johan Malm
d6af585837 build: remove scdoc stdin/stdout hack
From version 0.59.0, meson supports feeding the input file as stdin.
See sway@9727db67
2021-09-22 20:21:00 +01:00
Johan Malm
74e1d6e45c labwc-actions(5): add ToggleFullscreen, ToggleDecorations, Iconfiy 2021-09-20 22:01:47 +01:00
frogtile
8d1a34279c rc.xml.all: Fix typo
match with default config
2021-09-09 20:41:08 +01:00
Johan Malm
c34d987778 labwc-config(5): add mouse section 2021-09-06 22:16:19 +01:00
Johan Malm
cb58a36dae docs/rc.xml.all: set doubleClickTime default to 500 2021-09-06 22:09:59 +01:00
Johan Malm
a07a6fb6f5 docs/rc.xml: explain purpose & remove <mouse> element 2021-09-06 22:07:46 +01:00
alex
36f5b49f2a Implemented <doubleClickTime> in rc.xml 2021-09-01 07:05:37 +01:00
Alex Bryan
a4fdb43d42 Updated default/example rc.xml w/ first <mouse> implementation 2021-09-01 07:05:37 +01:00
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