Commit graph

196 commits

Author SHA1 Message Date
Dave Davenport
441c511296
Add an generic icon fetcher that can be used by any widget and re-uses the main threadpool.
Add an generic icon fetcher that can be used by any widget and re-uses the main threadpool.

* Make threadpool more generic usable.
* Add generic icon fetcher, that caches icons.
* Make DRUN use this fetcher.
* Add icon widget.

#809
2018-06-09 19:13:57 +02:00
Quentin Glidic
aa03eb7fc5
autotools: Dist man pages sources files too
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2018-03-29 12:47:56 +02:00
Quentin Glidic
fc0c2d7d87
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2018-03-29 12:47:17 +02:00
Dave Davenport
d9d3724615 Update themes from rofi-themes repository 2018-02-25 15:18:37 +01:00
Dave Davenport
74106921f4 Install rofi-theme-selector manpage. 2017-11-05 15:28:17 +01:00
Dave Davenport
3eef3d790a Use AM_PATH_GLIB_2_0 to figure out where glib-compile-resource is. 2017-10-31 19:31:58 +01:00
Dave Davenport
316de7ebeb Remove default-theme header file. 2017-10-31 19:00:31 +01:00
Quentin Glidic
3c37ba7a1c
meson: Add default theme GResource bits
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-10-31 18:16:08 +01:00
Dave Davenport
cc3d889fea First testing to use GResource to load default theme. 2017-10-31 18:00:24 +01:00
Dave Davenport
51d1ebf0ea Install rofi-types.h and fix includes for plugins 2017-10-03 20:50:38 +02:00
Dave Davenport
21e2e67412 Make tokenize test use libcheck.
- Add some tests for negate.
2017-09-29 18:44:21 +02:00
Quentin Glidic
b7a36f5ea5
autotools: Include subprojects meson_options.txt too
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-09-27 11:21:33 +02:00
Quentin Glidic
d7d239d808
meson: Fix update-manpage target
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-07-17 10:13:48 +02:00
Dave Davenport
9af191de26 Fix tests by splitting types name into separate file. 2017-06-20 21:02:13 +02:00
Dave Davenport
252d89a1b8 Add Pop-Dark theme. 2017-06-19 09:30:38 +02:00
Dave Davenport
5775e80111 Add dmenu theme 2017-06-05 20:31:32 +02:00
Dave Davenport
21615ccacd Remove non-existing files from Makefile. 2017-06-03 12:16:04 +02:00
Quentin Glidic
48a80e3f82
display: Introduce display.h
The API is meant to be neutral to fit any display backend.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 15:06:57 +02:00
Quentin Glidic
96364c461f
autotools: Fix build
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 12:00:51 +02:00
Aaron Ash
43053cdfc3
view: Add icon (basic) support 2017-05-30 19:00:57 +02:00
Quentin Glidic
a9199e3e17
Use libnkutils for keybindings
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-29 16:51:06 +02:00
Quentin Glidic
e324d0c6a9
Makefile.am: Use wrapper script for test-x
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-28 00:24:52 +02:00
Quentin Glidic
04faad945a
Merge branch 'master' into wip/meson
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-28 00:21:57 +02:00
Dave Davenport
494550d38d [ThemeParser] Add CSS color names support
* [ThemeParser] Add css color names

* Add CSS color support (WIP)

* Parse color names in the lexer.

* Add test for css color names

* Indent and fix ordering
2017-05-15 22:46:33 +02:00
Quentin Glidic
21982db450
meson: Now dist target is upstream
This reverts commit 2140c9dffb, but not
the Makefile.am part. Also fixes EXTRA_DIST.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-15 13:18:12 +02:00
Dave Davenport
e4c935c764 Add a old theme conversion test and default theme dump test. 2017-05-14 18:22:27 +02:00
Quentin Glidic
2140c9dffb
meson: Add dist target
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 22:26:03 +02:00
Quentin Glidic
9302ef59f3
gitmodules: Move to subprojects/
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 21:50:07 +02:00
Dave Davenport
0cde9a9d0e Fixing make dist including build lexer header file 2017-05-04 21:49:24 +02:00
Dave Davenport
82e2456043 Fix building out of source dir. 2017-05-04 21:41:38 +02:00
Quentin Glidic
4fccb3efdc
theme-parser: Drop lexer/ in #includes
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 13:40:12 +02:00
Dave Davenport
5d41d228f0 Make explicit flag for enabling/disabling libcheck usage.
Automagic detection is frowned upon:
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Automagic_dependencies
2017-04-30 20:03:31 +02:00
Dave Davenport
7892a83301 Allow libcheck to be disabled if not found 2017-04-30 18:34:37 +02:00
Dave Davenport
aba295647a [Test] Convert theme-parser test to use libcheck. 2017-04-30 17:44:53 +02:00
Dave Davenport
084125bc4c [Test] Play with check. 2017-04-29 17:52:37 +02:00
Dave Davenport
e7d58ada4d [Test] Add initial code for mode test. (without gui) 2017-04-28 09:43:12 +02:00
Dave Davenport
be6bf5fd01 Fix check 2017-04-25 11:44:13 +02:00
Quentin Glidic
6250e39e31
Do not hardcode ${datadir} as ${prefix}/share
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-17 18:18:07 +02:00
Dave Davenport
f23d035e52 Fix checks 2017-04-17 18:07:50 +02:00
Dave Davenport
97fe894f43 Add some theme name resolving functions. 2017-04-17 17:46:01 +02:00
Dave Davenport
abaae5f403 Add (initial) check for theme parser. 2017-04-04 08:56:19 +02:00
Dave Davenport
eeee200d8f Remove old theme support. (part 1) 2017-03-29 20:18:41 +02:00
Dave Davenport
5186dab1b8 Fix #581 2017-03-26 23:19:30 +02:00
Dave Davenport
8cdd4437d8 Add place-holder manpage for rofi-theme manpage. 2017-03-18 15:57:34 +01:00
Dave Davenport
048d601a85 Update tests 2017-03-11 14:55:58 +01:00
Dave Davenport
85bd47e42f Quick 'n dirty hack to find plugin in plugin dir 2017-02-17 20:02:12 +01:00
Dave Davenport
35deecec36 Do not export settings 2017-02-17 14:34:10 +01:00
Dave Davenport
dc7e4aa96e Install some headers for use in plugins 2017-02-17 14:06:31 +01:00
Dave Davenport
2ef45c46a8 Add small pkg-config file that can be used by plugins. 2017-02-16 23:29:26 +01:00
Dave Davenport
0825479710 Add sidebar and paper-float theme 2017-01-19 18:58:07 +01:00