Dave Davenport
6a38f88e98
Split MENU_QUICK_SWITCH into MENU_CUSTOM_COMMAND/QUICK_SWITCH
2020-09-08 18:24:36 +02:00
nick87720z
96cd34d24f
Fix and optimize 20200908 ( #1184 )
...
* combi: Reuse own get_num_entries in self-init
* combi_mode_parse_switchers: Remove duplicated mode pointer
* combi_mode_parse_switchers: Regroup mode search lines
* combi_mode_result: Simplify switcher search quit
* mode_result: Check for mode switch actions before hook
These are over-mode actions, which should not be handled
in mode hooks at all.
2020-09-08 17:30:03 +02:00
Dave Davenport
30735791b4
Run indenter.
2020-08-28 16:41:59 +02:00
Quentin Glidic
3d5f0f086c
script: Fix parsing of extras ( #1141 )
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2020-06-06 18:32:14 +02:00
nick87720z
ae701ce54e
Entry info was not used at entry selection ( #1140 )
2020-06-06 18:28:39 +02:00
Dave Davenport
da8c666e80
[Script] Initialize info entry. Don't pass entry at custom input.
...
Fixes : #1138
2020-05-30 10:44:37 +02:00
Dave Davenport
1342b733af
[Script] Add 'info' row option, that gets passed to ROFI_INFO environment.
2020-05-24 19:10:49 +02:00
Dave Davenport
3604b12fde
Add check that looks if rofi is running inside rofi script mode.
2020-05-21 09:35:55 +02:00
Dave Davenport
906b520daf
[Script] Add no-custom mode.
2020-04-22 23:41:25 +02:00
Dave Davenport
7587149950
[Script] Update example and doc.
2020-04-07 13:20:16 +02:00
Dave Davenport
de38e0f4a9
[Script|Dmenu] Don't -1 in a unsigned variable.
2020-04-07 13:14:53 +02:00
Dave Davenport
f63da72ea6
[Dmenu] Fix possible crash.
...
Don't pass empty string.
Issue: #1083
2020-04-06 23:31:45 +02:00
Dave Davenport
825fe4ae58
[Script] Fix crash when custom input with custom keybinding.
2020-04-05 13:19:22 +02:00
Dave Davenport
bacecf3044
[Script] Add environment variable to indicate state.
...
* ROFI_RETV shows the state rofi was in before calling rofi.
2020-04-05 12:56:33 +02:00
Dave Davenport
5879fd6099
[Script] Free g_shell_parse result.
2020-04-05 11:48:03 +02:00
Dave Davenport
aa07b8ef94
[Script] Add option to set deliminter and example script.
...
Issue: #1041
2020-04-01 13:58:01 +02:00
Dave Davenport
3bf9d3d3b1
[Script] Reload dialog, on selecting non-selectable item.
2020-02-13 21:32:19 +01:00
Dave Davenport
c458047ef6
[Script] Fix next dialog option.
...
Error slipped in from previous patch.
Issue: #1059
2020-02-13 21:29:02 +01:00
Dave Davenport
03775378e0
[Script] init nonselectable.
...
Issue: #1057
2020-02-13 16:52:11 +01:00
Dave Davenport
7dcc3f450c
Add option to make entry non-selectable in dmenu/script.
...
Fixes : #1024
2020-02-02 14:21:29 +01:00
Dave Davenport
b169289996
Indent all the code.
2020-02-02 13:56:37 +01:00
Jeff
83c2e467d5
Add support for additional field on script entries meta
( #1052 )
...
* Add test for hidden meta data in script mode
The purpose of this is to provide support for "hidden" fields on a
script item that work for search but don't get displayed. This is
mostly to provide something similar to the optional display (but still
matchable) fields in drun like "categories" or "keywords". This also
enables the choice to display unicode icons but still allow for
searching for the keywords without needing to print them.
* Ignore the output file from test runs
* Add support for the "meta" field on script entries
This fields provides a matchable but unprinted string for entries in a
script mode list match. This means you can use one thing but provide
multiple options that can match that item without polluting the list
view or make confusing output.
* Add new test to test suite file
2020-02-01 13:49:11 +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
eece00bad6
[combi|script] Add static keyword to inline get_index.
2019-07-09 09:01:35 +02:00
Dave Davenport
209fb9be18
[Script|Combi] Fix compilation warning about mixing singed and unsigned.
2019-07-06 17:04:17 +02:00
Kenneth Ho
be21fbae5d
add pythonic rows selection to -a and -u ( #985 )
2019-07-02 21:27:46 +02:00
Dave Davenport
011d92075c
[Dmenu][Script] Share some code between the two modi
2019-04-02 13:51:53 +02:00
Dave Davenport
11afb8e678
[Icon] Fix loading icons that are already in cache.
...
fixes : #860
2018-10-05 11:01:48 +02:00
Dave Davenport
a99cfa56c4
[Script] Add initial support for icons.
...
Issue: #840
2018-09-09 17:53:56 +02:00
Dave Davenport
859a9c79d6
Indent the code.
2018-08-08 15:55:13 +02:00
Dave Davenport
b837c3fdff
Change log domain from Utils.IconFetcher to Helpers.IconFetcher
...
Matches doxygen.
2018-06-12 11:47:03 +02:00
Dave Davenport
0f1717f829
[Script] Reset highlighting when reload view
...
Issue: #767
2018-02-08 17:56:31 +01:00
Dave Davenport
5a20094777
[Script] Reduce scope and swap tests. (cppcheck)
2017-12-11 18:42:35 +01:00
Dave Davenport
9ae62960c1
Indent files.
2017-10-05 17:45:50 +02:00
Dave Davenport
ebffe5503d
Implement support for specifying negated match
...
- Prepending - inverts the matching result.
- Fix logic window/drun browser.
- Breaks API as argument token_match callback changed.
- Update tests.
Fixes : #665
2017-09-29 08:40:25 +02:00
Dave Davenport
a1ea3e268f
Add more configuration options to script mode, getting closer to dmenu.
...
- urgent
- active
- prompt
- message
2017-09-27 20:00:33 +02:00
Dave Davenport
9b0a430fd4
Indent.
2017-09-05 13:52:44 +02:00
Dave Davenport
b9ae0783c2
[Script] Parse the command as a commandline.
...
Fixes : #650
2017-08-14 21:33:12 +02:00
Dave Davenport
8a99f0b7bd
[Script] Execute script + argument direction, do not pass run-command.
...
Fixes : #650
2017-08-14 17:28:25 +02:00
Dave Davenport
f1261e181c
Revert changes to script.
2017-05-23 17:19:04 +02:00
Dave Davenport
dca5caaa47
[Theme] Add small caps options (not working?)
2017-05-22 09:24:05 +02:00
Dave Davenport
ce4b1b23b4
Re-Indent code
2017-04-27 22:59:14 +02:00
Dave Davenport
01159b29f0
[Mode] Make the name field a pointer instead of a fixed 32char array.
2017-04-21 09:37: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
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
cee753bd3c
Zeltakmadness ( #572 )
...
* Allow modi to set extra pango attributes on displayed rows
* Fix some documentation, only highlight the mode name with color.
* Small rename.
2017-03-10 23:39:29 +01:00
Dave Davenport
3f4d58ef53
Indent code.
2017-03-04 19:41:06 +01:00
Dave Davenport
f7b4bebb9b
Rename token_match to helper_token_match.
2017-02-17 09:58:47 +01:00