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
d5108e291f
spawn.c: s/exit()/_exit()/
2021-02-15 17:57:20 +00:00
Johan Malm
224e8db35c
log: remove color
2020-12-30 10:53:48 +00:00
Johan Malm
1a38898f34
spawn: avoid zombie children without handling SIGCHLD
...
Current handling of SIGCHLD prevents some terminals, for example
sakura and alacritty, to freeze on ctrl+D.
Related to PR #10
2020-12-29 18:08:35 +00:00
Johan Malm
c646343c1d
common/spawn.c: add G_SPAWN_DO_NOT_REAP_CHILD
2020-12-23 18:40:35 +00:00
Johan Malm
f94c2add28
common/spawn.c: remove G_SPAWN_DO_NOT_REAP_CHILD
2020-12-21 18:54:01 +00:00
Johan Malm
58fdf9776f
Move pango_cairo_font_map_set_default() to font.c
2020-10-31 15:41:06 +00:00
Johan Malm
2f44e954aa
Remove clang-format on/off comments
2020-10-31 15:33:46 +00:00
Johan Malm
aab7b71520
log: add die() for convenience
2020-10-23 20:23:56 +01:00
Johan Malm
7e55e2cd09
Add string-helpers.c
2020-10-09 19:46: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
4a89fbfb22
Improve log messages for reading config+theme
2020-09-14 18:17:36 +01:00
Johan Malm
5181a0ac52
log: simplify info message
2020-09-10 22:26:10 +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
e62c251a74
common/dir.c: fix double free
2020-08-21 20:01:08 +01:00
Johan Malm
fd20570861
common/dir.c: add strfreev()
2020-08-18 20:15:14 +01:00
Johan Malm
759b8e2757
common/font.c: add cairo_destroy()
2020-08-14 17:57:18 +01:00
Johan Malm
2a17df0f8b
Add log.c with info() and warn()
2020-08-12 19:37:44 +01:00
Johan Malm
f003abf608
Simplify and merge {config,theme}-dir.c
2020-08-10 17:24:17 +01:00
Johan Malm
6627a47305
s/xbm_read_file()/grab_file/()
2020-08-06 15:01:08 +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
158f42d1e8
src/rcxml.c: parse <keybind>
2020-06-19 22:00:22 +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