Commit graph

31 commits

Author SHA1 Message Date
Johan Malm
96e05057a3 Update .clang-format
Align with wlroots style
2020-09-28 20:41:41 +01:00
Johan Malm
5a77c84fc8 Split theme-builtin.c into a separate file 2020-09-15 20:01:41 +01:00
Johan Malm
4a89fbfb22 Improve log messages for reading config+theme 2020-09-14 18:17:36 +01:00
Johan Malm
fd8d9a395d mv xbm/ .. 2020-08-31 20:01:08 +01:00
Johan Malm
83331e57ed Support inactive unpressed icons 2020-08-21 20:35:06 +01:00
Johan Malm
cda27da33e theme: set sane values if no theme found 2020-08-21 19:54:28 +01:00
Johan Malm
5122a9be69 Support icon colors
xbm/parse: support specifiying color when loading icon
theme.c: parse window.active.button.unpressed.image.color
2020-08-21 19:43:34 +01:00
Johan Malm
fc2754ac89 xbm/parse: use uint32 instead of int for << 24 2020-08-12 19:42:59 +01:00
Johan Malm
2a17df0f8b Add log.c with info() and warn() 2020-08-12 19:37:44 +01:00
Johan Malm
5ea1527558 xbm: parse_xbm_builtin() remove hard-coded values 2020-08-11 21:45:52 +01:00
Johan Malm
5dbc87a1f9 xbm: remove "loading" message 2020-08-11 21:28:59 +01:00
Johan Malm
f1b4aaa89f xbm/parse: covert rgba to uint32 correctly 2020-08-11 21:20:38 +01:00
Johan Malm
f003abf608 Simplify and merge {config,theme}-dir.c 2020-08-10 17:24:17 +01:00
Johan Malm
fc6fca6945 src/theme/theme-dir.c: support colon separated XDG_* env vars 2020-08-07 20:40:46 +01:00
Johan Malm
f199fc4779 tokenize.c, parse.c: rename functions 2020-08-06 15:09:13 +01:00
Johan Malm
6627a47305 s/xbm_read_file()/grab_file/() 2020-08-06 15:01:08 +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
ff8b5e9c74 theme.c: support wildcard (*) match 2020-07-27 20:54:00 +01:00
Johan Malm
d7d838d682 src/main.c: read themerc specified by rc.xml 2020-07-20 19:53:03 +01:00
Johan Malm
8a42bc9184 xbm.c: refactor and load builtin icons as fallback 2020-07-13 20:09:34 +01:00
Johan Malm
1330071e0c Load close.xbm based on rc.xml theme name 2020-07-09 22:41:54 +01:00
Johan Malm
f7fa28ab42 Render close, iconify and maximize buttons 2020-07-06 21:58:51 +01:00
Johan Malm
e1b86555f4 src/theme/xbm/parse.c: refactor 2020-07-03 22:03:44 +01:00
Johan Malm
baca410560 Render window close button 2020-06-29 19:27:59 +01:00
Johan Malm
40e862f3ac src/theme/xbm/parse.c: generate cairo_surface 2020-06-26 21:52:38 +01:00
Johan Malm
f86394a997 Add src/theme/xbm/parse.c 2020-06-23 07:17:07 +01:00
Johan Malm
d80a7b518f Add src/theme/xbm/tokenize.c 2020-06-22 19:03:02 +01:00
Johan Malm
f6578248c0 src/keybind.c: move keybind_print() to dbg.c 2020-06-18 20:39:55 +01:00
Johan Malm
c7a179f5b3 theme: add window_active_handle_bg_color 2020-06-12 21:41:30 +01:00
Johan Malm
d40445da1d Add theme.c to parse openbox's themerc 2020-06-11 21:20:43 +01:00