Dave Davenport
2ccc65ff52
Add some ui benchmark code
2020-05-12 10:40:50 +02:00
Dave Davenport
865821f829
Update help for option in source code.
2020-05-10 15:47:20 +02:00
Jaakko Luttinen
ccfecef936
fix xetc to config_path ( #1097 )
2020-04-19 19:07:58 +02:00
Dave Davenport
ed55b6c634
check before xresource config file parsing if it exist
2020-04-19 16:24:17 +02:00
Dave Davenport
e7554da627
Parse XDG_CONFIG_DIRS for default configuration file.
2020-04-19 11:55:53 +02:00
Dave Davenport
3a9c60804b
Add ROFI_PLUGIN_PATH environment variable.
2020-04-19 11:34:28 +02:00
Dave Davenport
d8a0f540f0
Add selected-row option to normal operation.
2020-03-29 12:56:47 +02:00
Dave Davenport
b169289996
Indent all the code.
2020-02-02 13:56:37 +01:00
Dave Davenport
7a6fcb20f4
Initialize all the configuration before upgrading config.
2020-01-02 18:57:53 +01:00
Dave Davenport
b44b5e8d16
Add -upgrade-config option.
...
* Print warning when old-style configuration is used.
* Add -upgrade-config option.
2020-01-02 12:00:44 +01:00
Dave Davenport
b03edc5cf3
Update copyright dates.
2020-01-01 12:23:12 +01:00
Dave Davenport
8d9e403659
Update copyright.
2019-09-27 11:58:32 +02:00
Dave Davenport
7c613f6a4c
Issue893: Add support for @media in the theme format. ( #1015 )
...
* [Lexer] Add support for @media.
Issue: #893
* [Theme] @media limit to px.
* [Theme@Media] add *{} support.
* [Theme@Media] Add support for monitor-id media.
* [Theme@Media] Code cleanup.
* [Theme@Media] Add min/max-aspect-ratio.
* [Theme@Media] Remove some debug output
Fixes : #893
2019-09-20 15:05:36 +02:00
Dave Davenport
eb0e132bcc
[Timings] Move into new debug system. ( #961 )
...
* [Timings] Move into new debug system.
* [Timings] Remove newlines.
2019-05-11 20:57:18 +02:00
Dave Davenport
1a77cae593
When mode not found, show gui, not only on commandline.
2019-03-24 02:39:57 +01:00
Dave Davenport
52204a527c
Add option to change location of cache dir.
...
-cache-dir
Fixes : #769
2019-02-08 20:43:53 +01:00
Dave Davenport
f42cffe962
Return EX_DATAERR when fails to parse theme.
...
This way a script can check if there was an error, otherwise you can
wind up in a loop.
2019-01-07 17:21:31 +01:00
Dave Davenport
859a9c79d6
Indent the code.
2018-08-08 15:55:13 +02:00
Dave Davenport
d2576e9f1f
More source code documentation updates
2018-06-12 12:31:34 +02:00
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
14993a5a98
bindings: Fix double click delay
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-12-25 23:41:20 +01:00
Dave Davenport
f123deb37b
When no new theme file present, don't print it in help.
2017-11-29 23:08:23 +01:00
Dave Davenport
9cd1e3fac2
Indent
2017-11-07 20:04:07 +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
1dccdb302e
Remove color from prompt, can be added in theme now.
...
fixed : #637
2017-10-30 21:40:13 +01:00
Jakob M. Kjær
6f6115ee59
Fixed error misspell
2017-10-19 17:07:23 +02:00
Dave Davenport
12e7b67ddd
Make -plugin-path commandline flag be read before loading plugins
2017-10-16 18:25:16 +02:00
Quentin Glidic
8deedd8645
meson: Use libnkutils git-version support
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-10-15 17:51:45 +02:00
Quentin Glidic
a723356d14
bindings: Fix API usage
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-10-12 19:53:15 +02:00
Dave Davenport
9ae62960c1
Indent files.
2017-10-05 17:45:50 +02:00
Dave Davenport
65eb9b7505
Fix crash on destroying script modi
2017-09-10 20:59:31 +02:00
Dave Davenport
19cc794018
Allow combi modi to use scripts from the modi list.
...
fixes : #668
2017-09-10 20:09:15 +02:00
Dave Davenport
ba296f9210
Add ch
as size unit.
2017-09-05 13:52:21 +02:00
Dave Davenport
73827ce680
Only dump configuration changes, not theme in -dump-config
.
2017-09-04 16:46:06 +02:00
Dave Davenport
3c52f15140
Move more enums to rofi-types.h
2017-08-18 11:38:54 +02:00
Dave Davenport
bca01f389d
[DMenu] make rofi obey the dmenu -w flag.
...
- This is a dirty hack that needs to be done better in next release.
2017-07-13 08:21:15 +02:00
Dave Davenport
7e1c02b04c
[OldTheme] Re-add the padding/bw option.
2017-07-03 09:23:03 +02:00
Dave Davenport
69d32164c9
Fix test building.
2017-06-21 19:18:57 +02:00
Dave Davenport
77a4d97262
Add -dump-config option.
2017-06-21 08:19:47 +02:00
Dave Davenport
da00848416
Do better error reporting on configuration entries in rasi format.
2017-06-20 18:10:18 +02:00
Dave Davenport
8375fbb513
Support a config.rasi configuration file in the new format
2017-06-20 17:56:27 +02:00
Dave Davenport
47c7518656
Fix parsing old themes from rofi-themes repo.
2017-06-07 20:41:43 +02:00
Dave Davenport
07076d154a
Load theme-str after loading fallback themes.
...
* If no theme loaded, try converting old theme.
* If still no theme loaded, try default theme.
* Then load modifications (theme-str option)
2017-06-07 07:53:33 +02:00
Dave Davenport
9a62bfd172
Run indenter.
2017-06-03 20:35:50 +02:00
Dave Davenport
8875118334
Don't popup error dialog, pospone error message.
2017-06-03 16:06:32 +02:00
Quentin Glidic
dbac6fba5c
rofi: Make sure we parsed the config before parsing bindings
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 17:46:53 +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
93cb04e30f
xcb: Move (most) event handling to xcb.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 13:30:29 +02:00
Quentin Glidic
4792a16593
xcb: Hide release details
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 13:26:31 +02:00
Quentin Glidic
2586cc926a
rofi: Remove some leftovers ticks
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 12:03:23 +02:00
Quentin Glidic
000dce1083
xcb: Hide grab details
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 11:57:57 +02:00
Quentin Glidic
f042851add
xcb: Hide some internal details
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 11:57:17 +02:00
Quentin Glidic
a8aac87bb0
xcb: Move GWater source in xcb.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 11:44:21 +02:00
Quentin Glidic
9b58a9bc31
xcb: Move more stuff to xcb.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 00:39:11 +02:00
Quentin Glidic
46dee2671d
x11-helper: Rename xcb.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 00:12:58 +02:00
Quentin Glidic
4c8e9247ad
rofi: Fix NkBindings calls order
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 00:00:09 +02:00
Quentin Glidic
087acb1028
gitmodules: Update libnkutils
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-31 22:42:33 +02:00
Quentin Glidic
52aac6d3b6
gitmodules: Update libnkutils
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-31 20:26:12 +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
Dave Davenport
89e9c2d0a5
G_MODULE_EXPORT config_path
2017-05-28 17:15:59 +02:00
Dave Davenport
141b46aae0
Add extra error message when failed to open plugin
2017-05-28 17:12:10 +02:00
Dave Davenport
30fb8c514e
Change ARGB to RGBA, fix in theme converter
2017-05-16 21:55:52 +02:00
Quentin Glidic
25d0d5e679
rofi: Do not include gitconfig.h directly
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 13:40:16 +02:00
Dave Davenport
9afa7682f6
Fix some small warning because get_string returns const.
2017-04-28 09:15:01 +02:00
Dave Davenport
ce4b1b23b4
Re-Indent code
2017-04-27 22:59:14 +02:00
Dave Davenport
dd715fa1ad
Remove -dump-xresources-theme option that does not exists anymore from -help
...
* and manpage
2017-04-21 17:31:07 +02:00
Dave Davenport
04e764c8e6
[Plugins] Add -no-plugins and -plugin-path options
...
* -no-plugins disables the loading of plugins.
* -plugin-path specifies the directory used by rofi to look for plugins.
2017-04-21 09:48:03 +02:00
Dave Davenport
5edc739848
Try to improve error message a bit (damn g_warning replace)
2017-04-20 09:24:09 +02:00
Dave Davenport
8c11b48532
Print message about disabled mode to stderr using fprintf.
...
g_warning breaks the colour output.
2017-04-18 08:24:09 +02:00
Adrià Farrés
7c14468697
Add newline ( #588 )
2017-04-15 21:50:55 +02:00
Quentin Glidic
9a68b22009
Fix licenses headers
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:32:05 +02:00
Quentin Glidic
cfbe4027bc
Consolidate logging
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:07:29 +02:00
Dave Davenport
ba9e1fb92a
Switch to g_{debug,warning} instead of g_log
2017-04-15 11:37:50 +02:00
Dave Davenport
d2bf704d93
Print warning in using g_log.
2017-04-14 11:14:30 +02:00
Aaron Ash
1bfbc327c2
Handle null X events without error
2017-04-14 11:12:21 +02:00
Dave Davenport
f7971fc0e6
Add list of available modi to help output.
2017-04-03 08:51:25 +02:00
Dave Davenport
a754815d14
Add converter back for old theme format.
2017-04-02 12:32:11 +02:00
Dave Davenport
563dc8dafd
Fix alternate separator
2017-03-31 20:57:42 +02:00
Dave Davenport
b418352d43
Don't quit, show error when failing to load mode.
2017-03-31 17:51:23 +02:00
Dave Davenport
a885966f30
Show what mode failed to load.
2017-03-31 17:47:04 +02:00
Dave Davenport
738d7e2e0c
Allow '/' as separator between modi. ( #582 )
2017-03-31 14:07:22 +02:00
Dave Davenport
18618ddbd1
When modi is not enabled, only print warning when started from console
2017-03-31 13:59:46 +02:00
Dave Davenport
9ae1344d56
Improve error message when called with -show
2017-03-31 13:47:44 +02:00
Dave Davenport
d31fc5c8bc
Update message when launched without show argument.
2017-03-31 10:11:50 +02:00
Dave Davenport
4d19e35b0e
Remove more traces of old theme.
2017-03-30 08:33:40 +02:00
Dave Davenport
eeee200d8f
Remove old theme support. (part 1)
2017-03-29 20:18:41 +02:00
Dave Davenport
8c345273ff
Indenting.
2017-03-28 20:04:02 +02:00
Dave Davenport
14b43523be
Merge the configuration loading into something more simple (2)
2017-03-28 17:13:38 +02:00
Dave Davenport
7b30846408
Merge the configuration loading into something more simple (1)
2017-03-28 17:03:46 +02:00
Dave Davenport
0b03fc98ff
If user_runtime dir does not exist, try fallback and limp on.
2017-03-25 21:52:51 +01:00
Dave Davenport
61e537a05f
ISSUE 576: Clutching at straws.
...
* Don't use atexit anymore. (what happens with g_spawn and atexit?
should be fine, but a test).
* Even though not needed, force wait on running thread (of which there
should be none) when destroy thread pool.
2017-03-25 14:23:31 +01:00
Dave Davenport
606f4e89c5
Add teardown debug message
2017-03-21 19:46:56 +01:00
Dave Davenport
50477a0b99
[Keys] Cleanup view a bit.
2017-03-17 14:07:11 +01:00
Dave Davenport
b7f4b7484f
Some initial support for @import in theme and try to fall back when theme fails to load
2017-03-11 17:06:06 +01:00
Dave Davenport
652749081a
Fix missing doxygen documentation
2017-03-11 13:20:46 +01:00
Dave Davenport
88cde09055
Merge remote-tracking branch 'gitcreate/master'
2017-03-06 10:35:20 +01:00
Dave Davenport
9938317dc5
Don't g_strsplit everytime, use strtok.
2017-03-06 09:56:02 +01:00
Dave Davenport
3f4d58ef53
Indent code.
2017-03-04 19:41:06 +01:00