Commit graph

680 commits

Author SHA1 Message Date
Dave Davenport
e8edc42f9d [Helper] Quick and dirty string replacer with optional keys block.
First (quick and dirty) version of a more advanced key replacer where
sets of text are only outputted if the contained key matches.
2018-10-16 21:01:45 +02:00
Lukas Alexandre
6830e5d117 Fixing typos in docs and error messages, "numger" -> "number" (#867) 2018-10-14 16:57:52 +02:00
Dave Davenport
859a9c79d6 Indent the code. 2018-08-08 15:55:13 +02:00
Dave Davenport
4538303be6 [DRUN] Add option to show actions in drun.
Fixes: #836
2018-07-28 11:12:11 +02:00
Dave Davenport
e4d823774c Export icon fetcher header, remove nxd from icon-fetcher header. 2018-07-14 18:05:34 +02:00
Dave Davenport
bdb6abef4a
Sorting cleanup (#816)
* Add `-sorting-method` option remove weird -sort-levenshtein.

* Fix test for updated cmdline options.

* Update manpage
2018-06-13 11:57:23 +02:00
Dave Davenport
d2576e9f1f More source code documentation updates 2018-06-12 12:31:34 +02:00
Dave Davenport
32b45c2d10 Fix documentation
* theme
* view
* textbox
2018-06-12 12:16:33 +02:00
Dave Davenport
b8592f8b99 Documentation updates.
* theme,
* view,
* textbox
* helper
2018-06-12 12:00:00 +02:00
Dave Davenport
c856c1a8ab [Widget::Icon] Fix doxygen documentation in header file. 2018-06-12 11:28:31 +02:00
Dave Davenport
75811fd5a5 [IconFetcher] Add some doxygen documentation 2018-06-12 11:10:46 +02:00
Dave Davenport
53ccfd37ce Fix documentation error in icon widget header file. 2018-06-12 10:24:18 +02:00
Dave Davenport
0633bc9dad Remove (unused) widget ref counting. 2018-06-12 10:08:29 +02:00
Dave Davenport
d4cfb5bb4b Fix crash in error dialog and tests. 2018-06-12 09:46:24 +02:00
Dave Davenport
c96ebfc2de Re-add icon-theme option. 2018-06-09 22:17:32 +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
Sven-Hendrik Haase
a4ca32fdc1 Fix typo (#804) 2018-05-14 15:46:34 +02:00
Edward Betts
79adae77d7 Correct spelling mistakes. (#722) 2017-11-23 18:41:52 +01:00
Dave Davenport
54c45f8f5f Fix __cplusplus guard. Move after include 2017-11-21 16:04:59 +01:00
Dave Davenport
35304e705d [Plugin] Add C++ #ifdefs to public header files. 2017-11-20 22:50:58 +01:00
Dave Davenport
4ac428bace [Combi] Add hide prefix option. 2017-11-07 20:03:42 +01:00
Dave Davenport
316de7ebeb Remove default-theme header file. 2017-10-31 19:00:31 +01:00
Dave Davenport
0bb64cf1ad Add extra margin between prompt and entry. 2017-10-31 09:51:00 +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
Dave Davenport
f9d1562513 [Default theme] Fix border width message box 2017-10-25 17:51:00 +02:00
Askrenteam
0dc71fcc00 Added option -name-only to match only desktop entry name with drun (#690)
* Added option -name-only to match only desktop entry name with drun

* fixed indent and xrdump test

* fixed test

* option -drun-match-fields

* option -window-match-fields

* matching fields as static in window/drun + enums for field indexes

* prevent window_mode_parse_fields() from executing twice
2017-10-21 11:18:52 +02:00
Dave Davenport
9ae62960c1 Indent files. 2017-10-05 17:45:50 +02:00
Dave Davenport
51d1ebf0ea Install rofi-types.h and fix includes for plugins 2017-10-03 20:50:38 +02:00
Dave Davenport
2784959fc1 Allow maximum history size to be configured.
Fixes: #613
2017-10-03 19:59:35 +02:00
Dave Davenport
91d88b1fd1 Rename tokenize to helper_tokenize 2017-10-01 10:51:02 +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
99f2a1a9bf Add @theme import command, that resets the current theme. 2017-09-18 17:48:13 +02:00
Dave Davenport
ae0323211b small update to default theme 2017-09-18 07:49:24 +02:00
Dave Davenport
852d80fee3 Change WMQuirk logic
- Default is switch to desktop then select window.
- 2 quirks:
  - pango names.
  - do not switch.
2017-09-17 21:40:36 +02:00
Dave Davenport
97467fceff Update small part of doc. set hadle-color on scrollbar in default theme. 2017-09-09 22:09:02 +02:00
Dave Davenport
e01aefd773 Update shipped themes. 2017-09-09 14:50:23 +02:00
Dave Davenport
b24660a204 Fix default theme. 2017-09-09 12:49:40 +02:00
Dave Davenport
af369bd244 Update default theme and converter. 2017-09-09 12:07:11 +02:00
Dave Davenport
a97831e297 Fix doxygen documentation 2017-09-09 11:25:33 +02:00
Dave Davenport
acfc07a63e Fix Inherit keyword 2017-09-07 13:46:09 +02:00
Dave Davenport
7c1ecb4707 Add support for multiple selectors. #dummy0, dummy1 {} 2017-09-06 23:11:03 +02:00
Dave Davenport
6b43fed3aa use color, background-color and border-color 2017-09-06 19:02:09 +02:00
Dave Davenport
50998b8f04 Flatten hierarchy, don't inherit by default.
* add keyword inherit to language parser and theme structure.
2017-09-06 10:03:44 +02:00
Dave Davenport
9b0a430fd4 Indent. 2017-09-05 13:52:44 +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
508e39c3f3 Set cursor to end of input field.
Fixes: #662
2017-08-29 10:40:24 +02:00
Dave Davenport
3c52f15140 Move more enums to rofi-types.h 2017-08-18 11:38:54 +02:00
Dave Davenport
9105e5549f Move all property structs/enums into rofi-types 2017-08-17 22:52:17 +02:00