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
Dave Davenport
8ee37012d1
Add dir parser function
2017-03-04 12:22:28 +01:00
Dave Davenport
86dc1e1448
Detect plugins on startup.
2017-03-04 12:00:59 +01:00
Dave Davenport
45c70cbecf
Allow modes to set message box, instead of view creation argument.
2017-03-01 09:57:54 +01:00
Dave Davenport
1de6239616
Also parse global config for dynamic options
2017-02-27 09:01:59 +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
9bd4096346
Add quick'n dirty abi check.
2017-02-14 18:12:07 +01:00
Dave Davenport
fb05409365
Start of making SardemFF7 happy
...
Allow mode's to be loaded as dynamic plugins.
2017-02-14 08:52:17 +01:00
Dave Davenport
c386521574
Add an window manager detection function to startup.
...
current_window_manager now is an enum of known window managers.
2017-02-11 16:53:37 +01:00
Dave Davenport
0ea74e5c7f
Update function check configure.ac
2017-02-09 08:45:15 +01:00
Dave Davenport
87251a991c
Indent
2017-02-09 08:27:26 +01:00
Dave Davenport
7b3e0918cf
Reduce amount of paths created
2017-02-06 23:45:46 +01:00
Dave Davenport
db92ff1f41
Add border radius to border around widget.
2017-02-06 21:17:56 +01:00
Dave Davenport
8392b207a9
Enable lazy-grab by default.
2017-02-02 19:00:45 +01:00
Dave Davenport
8e64885c55
Set default language on pango context.
2017-02-01 08:47:43 +01:00
Dave Davenport
0ebd6a260b
Add auto-detect option to DPI setting.
2017-01-21 12:58:52 +01:00
Dave Davenport
bfae111579
Fix indenting and header commenting.
2017-01-11 09:11:19 +01:00
Dave Davenport
a5d2db256e
Clear theme memory on close, free temporary widget
2017-01-09 23:08:11 +01:00
Dave Davenport
cf1940f8cb
Reset theme if parsing fails, so we don't display using 1/2 parsed theme
2017-01-09 23:01:09 +01:00
Dave Davenport
25dff63006
Improve error handling string.
2017-01-09 22:40:11 +01:00
Dave Davenport
ca01af6338
Try to improve error handling and messages
2017-01-09 22:29:31 +01:00
Dave Davenport
854aa55453
Better error reporting (1)
2017-01-09 18:32:26 +01:00
Dave Davenport
a199fa3275
Improve error message theme a little bit
2017-01-09 08:55:51 +01:00
Dave Davenport
f42e4ffbd7
Remove old cairo color set functions
2017-01-09 08:32:16 +01:00
Dave Davenport
78916c6a94
Give up and quit rofi after failed to grab keyboard in <5 sec.
2017-01-09 08:17:16 +01:00
Dave Davenport
baab2047ad
Indent magic, rework makefile so lexer and yacc file are not passed.
2017-01-08 21:36:06 +01:00
Dave Davenport
8543ac8438
Fix doxygen.
2017-01-08 16:23:17 +01:00
Dave Davenport
c57e7348d2
Add some better error message. Allow -theme-str option to override part of theme
2017-01-08 16:09:24 +01:00
Dave Davenport
8124cfb023
Merge remote-tracking branch 'origin/master' into themer
2017-01-07 10:38:47 +01:00
Dave Davenport
c98b67ed0d
Make lazy-key-grab an option, add --release for i3 to manpage.
2017-01-07 10:35:36 +01:00
Dave Davenport
add0e2f801
Merge remote-tracking branch 'origin/master' into themer
2017-01-06 11:07:14 +01:00
Dave Davenport
051be0cfe6
Change keyboard grabbing behaviour, if you fail, continue running and try in background to get them.
2017-01-06 11:00:27 +01:00
Dave Davenport
8f6a323ed6
Merge remote-tracking branch 'origin/master' into themer
2017-01-04 10:39:50 +01:00
Dave Davenport
129d96928a
Quick when failed to grab keyboard. #524
2017-01-04 10:37:05 +01:00
Dave Davenport
8163204320
Merge remote-tracking branch 'origin/master' into themer
2017-01-03 18:00:12 +01:00
Dave Davenport
22e2d7587d
Update copyright to 2017.
2017-01-03 17:59:28 +01:00
Dave Davenport
d35e70d817
Support converting old theme internally, add first option to dump theme
2017-01-01 01:06:38 +01:00
Dave Davenport
d8b877147c
Fix cleanup lexer, add properties to theme documentation.
2016-12-19 08:10:33 +01:00
Dave Davenport
4858dad631
Merge remote-tracking branch 'origin/master' into themer
2016-12-15 09:17:55 +01:00
Dave Davenport
d7b5b9fbfa
Fix some compile warnings
2016-12-15 09:17:39 +01:00
Dave Davenport
6d9ce47974
Merge remote-tracking branch 'origin/master' into themer
2016-12-12 08:53:35 +01:00
Dave Davenport
47125daecf
Reset user input on script selection.
...
Fixes : #513
2016-12-12 08:52:27 +01:00
Dave Davenport
6cca2b1ecd
Remove debug output
2016-12-11 21:58:55 +01:00
Dave Davenport
95667e60d9
Add theme option to config system.
2016-12-11 18:06:35 +01:00
Dave Davenport
d18f037d1c
Add lex/bison parser for theme.
2016-12-09 19:49:49 +01:00
Dave Davenport
c759f248b4
Add configuration file location in -help output.
2016-12-06 19:24:17 +01:00
Dave Davenport
3f88ef0032
Issue: #38 remove delay (until next blink) when triggering on release (version 2.0)
2016-11-30 17:30:10 +01:00
Dave Davenport
c9b5667a3f
Issue: #39 remove delay (until next blink) when triggering on release
2016-11-30 16:35:34 +01:00
Dave Davenport
80c7b3774e
Fix compare add forum to links.
2016-11-25 21:47:28 +01:00
Dave Davenport
31115dd312
Print compile options (window, drun,timing, asan, gcov) in -help
...
Issue: #506
2016-11-25 20:00:27 +01:00
Dave Davenport
fcf3c33415
Fix keybinding with Shift in name. Alt-Shift-S -> Alt-S. Alt-Shift-1 -> Alt-exclam
...
+ indent.
2016-11-14 16:25:04 +01:00
Dave Davenport
31a29e452b
Fix #497 : Create user runtime dir if not exists.
2016-11-12 11:36:39 +01:00
Dave Davenport
27cef3c9ae
Fix #497 : Create cache dir if not exists.
2016-11-12 11:28:40 +01:00
Dave Davenport
90c314f397
Re-add column, but not for dmenu when prompt is set
2016-11-07 08:51:23 +01:00
Dave Davenport
da2e6a2cc4
Remove debug sleep
2016-11-06 16:55:41 +01:00
Dave Davenport
89e3e0e645
Grab keyboard as early as possible ( #494 )
2016-11-06 16:50:12 +01:00
Dave Davenport
ed6cb59b5d
Fix crash on wrongly queued ViewState (thx to teto)
2016-11-02 18:24:20 +01:00
Dave Davenport
4c5df96fcd
Pull config option access from out of separator widget.
2016-11-01 08:04:39 +01:00
Dave Davenport
86b6beb1e9
Update some code.
2016-10-28 23:28:49 +02:00
Dave Davenport
fb459e1660
Make scrollbar behave better
2016-10-26 08:24:34 +02:00
Dave Davenport
163934fa8c
Simplify some code, more comments. (90% docu)
2016-10-25 22:45:11 +02:00
Dave Davenport
a38ac9caf3
Update scrollbar behaviour, so dragging is more natural. (limit range from hw/2 to h-hw/2)
2016-10-25 21:19:39 +02:00
Dave Davenport
7b3b68462e
Fix memory leak in box and listview widget, add coverage make target. (ggcov and lcov)
2016-10-18 13:49:24 +02:00
Dave Davenport
cdb1b96414
Fix issue #482 : Set work directory
2016-10-15 20:00:26 +02:00
Dave Davenport
f0981d6697
Indenting, comments
2016-10-15 15:39:08 +02:00
Dave Davenport
f10bc5004f
Make separator work in both directions ( hori/vert ).
2016-10-09 10:07:32 +02:00
Dave Davenport
3c64507f02
Qtk widgets ( #478 )
...
* Initial support for using boxes for packing widgets.
* Make CapiTalIzation more consistent
* Move widgets to subdirectory
* Removed nolonger needed resize function.
* Small cleanup
* When switching mode, reuse view, don't rebuild it. Reduces artifacts.
* Needs cleaning up.
* Remove separate prompt argument, use display_name
* Simplify run-switcher code.
* Add notion of parents, and trigger parent update on resize.
* Use widget_get_height wrapper, avoid crash
* Size separator width based on height. (indent)
* TODO add margin to box.
* First draft version of listview.
* Add scrollbar to listview widget
* Add padding option to box
* Move access to global config out of widget. (1/2 done)
* Remove printf
* Make listview not access global config
* Add click support, implement on mode buttons.
* Re-introduce mouse handling on list-view.
* TODO draggin on scrollbar.
* Fix multi-select
* Fix warnings
* Fix include
2016-10-08 18:57:59 +02:00
Dave Davenport
ca766b4ed7
Still parse commandline options when -no-config is passed.
2016-09-18 22:29:05 +02:00
Dave Davenport
e3fb17a843
Ask window manager to hide decoration in normal-window mode.
...
Issue #485
2016-09-08 08:57:35 +02:00
Dave Davenport
c099aaeabf
Add debug output.
2016-08-30 21:24:04 +02:00
Dave Davenport
e79361e890
Fix configure script a bit.
2016-08-29 21:38:29 +02:00
Dave Davenport
5cfe9a89b3
Improve DRun handling a bit.
...
- Remove entries that are deprecated or unsupported.
- Handle field codes %c and %k
TODO:
- Detect multiple identical field code entries and throw error.
2016-08-29 21:14:03 +02:00
Dave Davenport
a90ff48032
But broken drun under a configure option.
2016-08-29 08:46:21 +02:00
Dave Davenport
56c2d0dfb2
Disable drun mode as it is broken.
...
* Does not handle %[uf] whatever in Exec command.
* It is not it own binary.
* It has no build in file browser.
* etc.
2016-08-29 07:49:11 +02:00
Dave Davenport
e4cab560f4
First hack at fixing Desktop file parser.
2016-08-28 22:43:42 +02:00
Dave Davenport
20e55e1e4e
Add fuzzy matching, make a -matching option.
...
* -matching *method* option instead of -regex, -glob, -fuzzy.
* Re-add fuzzy matching pattern.
* When there are substrings in regex, only highlight those matches.
Fixes : #447
2016-08-25 21:17:58 +02:00
Dave Davenport
ef3c773097
Constness.
2016-08-24 00:39:56 +02:00
Dave Davenport
ad53de507c
Extra cleanup at exit.
2016-08-22 08:39:22 +02:00
Dave Davenport
df7468b491
Use XRandr to get monitor layout instead of xinerama.
...
* You can now specify monitor by name, or primary status.
2016-08-19 10:46:38 +02:00
Dave Davenport
eb0bfc60c4
Indicate what set an option, comment default options in dump-xresources.
2016-08-04 20:24:01 +02:00
Dave Davenport
604b4cb619
Fix memory leak, re-indent
2016-07-31 23:28:31 +02:00
Dave Davenport
fe230eb95c
Fix #432 , Control+k removes till eol.
2016-07-25 11:32:30 +02:00
Dave Davenport
59635919ea
Add selection indicator to dmenu mode.
2016-07-18 23:49:26 +02:00
Dave Davenport
b31cf1d32f
On rofi -show without argument, run de first one from the modi list.
2016-07-13 08:55:40 +02:00
Dave Davenport
9f25a975ae
Fix windowcd command and allow custom Window string format
2016-06-28 23:07:48 +02:00
Dave Davenport
a7922cc07c
Remove xlib dependency, add xcb-util-xrm.
2016-06-25 14:01:41 +02:00
Dave Davenport
1f4af41e96
Split Custom and Alternate command.
2016-06-19 18:02:49 +02:00
Dave Davenport
7a2435a23b
Indent don't use partial match.
2016-06-16 22:23:55 +02:00
Dave Davenport
e966fbe583
Terminate rofi if switcher is not found
2016-06-07 09:58:48 +02:00
Dave Davenport
9ff7a26c7e
Some indenting fixes
2016-06-05 20:41:10 +02:00
Dave Davenport
01ce909c97
Update some headers.
2016-06-01 07:34:41 +02:00
Quentin Glidic
56ed9e6a04
gitmodules: Update libgwater
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-30 18:25:40 +02:00
Dave Davenport
0fb7258470
Fix missing equals
2016-05-30 10:27:58 +02:00
Dave Davenport
1b5bcaa9f4
Issue #411 : Show list of Keyboard bindings with rofi, from rofi.
2016-05-30 10:25:58 +02:00
Dave Davenport
5b3239a748
Fix : #409 Use display-name for prompt.
2016-05-23 08:19:36 +02:00
Dave Davenport
bd412b9975
Grab mouse pointer with keyboard.
2016-05-09 08:47:28 +02:00
Dave Davenport
8f6c9ee070
Fix indenting
2016-05-08 11:13:11 +02:00
Quentin Glidic
67b0ce036f
keybindings: Implement on-release bindings
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:31:04 +02:00
Dave Davenport
44481cdb40
Small cleanups, fix worker error dialog.
2016-04-20 08:08:18 +02:00
Dave Davenport
3918625804
Move teardown to the logic place again (possible with deamon mode removed)
2016-04-20 08:04:23 +02:00
Dave Davenport
e54e012500
Issue: #381 : Try to handle X11 input and UTF-8 better.
...
In window_get_text_prop do conversion when input is of type STRING. (latin1) to utf8.
Dmenu: don't skip invalid lines, but try to display as much as possible.
Window mode: Double check all input from X.
2016-04-10 12:05:34 +02:00