Johan Malm
3c9f6c0551
rcxml: fix typo
2021-05-28 21:31:02 +01:00
Mikhail Kshevetskiy
00db22e44f
focus: add basic follow mouse support
2021-05-28 21:25:19 +01:00
Johan Malm
2f5a44d34d
theme: move title_height to theme struct
...
title_height is a derived variable which needs both config and theme
variables (font height and title padding). The code is tidier calling
post_processing() for this from theme_init()
2021-04-15 20:13:49 +01:00
Johan Malm
0a6eead36b
rcxml: simplify debugging nodenames
2021-03-30 22:40:41 +01:00
Johan Malm
a5139815d6
config: add <theme><cornerRadius>
2021-03-30 22:39:52 +01:00
Johan Malm
b9d6ce324f
Set default A-F3 binding to bemenu instead of dmenu
2021-03-01 18:40:11 +00:00
Johan Malm
9f61a819fc
Add zfree
2021-02-21 21:59:53 +00:00
Johan Malm
9eac349046
rc.xml: move nodename() to nodename.c
2021-02-16 21:04:49 +00:00
Johan Malm
a97428020e
rc.xml: split out rstrip() to string-helpers.c
2021-02-16 21:03:38 +00:00
Johan Malm
375084c40c
log: s/warn/info/ on missing config/theme files
2020-12-30 10:59:39 +00:00
Johan Malm
529d7016f2
config: change default font size from 8 to 10
2020-12-30 10:44:57 +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
678d327d6f
rcxml,theme: update info() message
2020-10-13 19:41:55 +01:00
Johan Malm
51507df2e7
rcxml: remove <lab><keyboard><layout> support
...
The preferred method is now to set this environment variable in
~/.config/labwc/enrivonment
2020-10-08 21:18:36 +01:00
Johan Malm
581f4ea0c3
s/BUG_ON/assert/
2020-09-28 20:53:59 +01:00
Johan Malm
96e05057a3
Update .clang-format
...
Align with wlroots style
2020-09-28 20:41:41 +01:00
Johan Malm
1721b339da
Reload config+theme on SIGHUP
2020-09-25 19:42:40 +01:00
Johan Malm
35ff6e5bb0
rcxml: s/csd/xdg_shell_server_side_deco
2020-09-15 21:10:02 +01:00
Johan Malm
4a89fbfb22
Improve log messages for reading config+theme
2020-09-14 18:17:36 +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
c0a807765e
rcxml: remove invalid keybind
2020-09-09 18:58:02 +01:00
Johan Malm
b2504bdf9a
keybind: s/add/create/
2020-09-02 21:05:28 +01:00
Johan Malm
e25118d8ec
rcxml: set empty variables in post_processing()
...
Avoid crash if no config file can be found
2020-08-21 19:47:50 +01:00
Johan Malm
68fb8a3af5
rcxml: add rcxml_finish()
2020-08-13 20:20:44 +01:00
Johan Malm
2a17df0f8b
Add log.c with info() and warn()
2020-08-12 19:37:44 +01:00
Johan Malm
f635d834ee
rcxml: remove "[bind]" message
2020-08-11 21:12:02 +01:00
Johan Malm
f003abf608
Simplify and merge {config,theme}-dir.c
2020-08-10 17:24:17 +01:00
Johan Malm
2297e43cc0
Base rc.title_height on font vertical extents
2020-08-05 20:14:17 +01:00
Johan Malm
4d1363dcae
include/: refactor header files more
2020-08-03 20:56:38 +01:00
Johan Malm
53266a0d5a
include/: refactor header files
2020-07-31 21:31:03 +01:00
Johan Malm
82dc192217
rcxml.c: parse font name+size for ActiveWindow
...
For example:
<theme>
<font place="ActiveWindow">
<name>sans</name>
<size>8</size>
</font>
</theme>
2020-07-31 11:11:50 +01:00
Johan Malm
ccc818fda5
Add src/config/config-dir.c
2020-07-18 11:28:39 +01:00
Johan Malm
1330071e0c
Load close.xbm based on rc.xml theme name
2020-07-09 22:41:54 +01:00
Johan Malm
158f42d1e8
src/rcxml.c: parse <keybind>
2020-06-19 22:00:22 +01:00
Johan Malm
f6578248c0
src/keybind.c: move keybind_print() to dbg.c
2020-06-18 20:39:55 +01:00
Johan Malm
40f01ed3c9
Add keybind.c
2020-06-16 07:21:53 +01:00
Johan Malm
31ba3b958d
Add tests/t1001-rcxml-nodenames-simple.c
2020-06-09 22:20:24 +01:00
Johan Malm
1f5d8c3812
src/config/rcxml.c: optionally write nodenames to buffer
2020-06-09 22:01:19 +01:00
Johan Malm
bc51e0ad2f
src/config/rcxml.c: parse xml from buffer
...
Avoid unit tests writing to/from files by using xmlParseMemory() instead
of xmlReadFile().
2020-06-09 21:40:46 +01:00
Johan Malm
898d80e04f
rc.xml: add <lab><keyboard><layout>
2020-06-08 19:49:19 +01:00
Johan Malm
6166e9b370
Read rc.xml and begin parsing
2020-06-05 23:04:54 +01:00