Commit Graph

19 Commits

Author SHA1 Message Date
Scoopta
a85c516926 Good C practices 2020-01-06 00:39:47 -08:00
Scoopta
e037fa7b4e Added cache invalidation 2020-01-02 14:36:54 -08:00
Scoopta
84b26abf78 Oops, that was for debugging 2019-12-02 12:28:57 -08:00
Scoopta
b8b63c416c Fixed a memory leak 2019-12-01 23:17:23 -08:00
Scoopta
5e5729e7fc Added the show_all config option to run 2019-12-01 23:02:49 -08:00
Scoopta
9f16ca0a06 Added the always_parse_args config option to run 2019-12-01 22:59:04 -08:00
Scoopta
49295d8b13 run mode now searches by executable name only 2019-11-21 21:23:45 -08:00
Scoopta
c8d052be6a I have no idea why the search text was in the format of name/full/path when full/path already contains the name 2019-11-21 00:09:17 -08:00
Scoopta
a15390c685 Renamed the flag when holding shift from run_in_term to mod_shift. This makes more sense as not all modes have a need for a run in term option 2019-11-18 22:16:06 -08:00
Scoopta
750cdd0167 Holding ctrl when pressing enter will now parse args in run mode 2019-11-18 22:13:14 -08:00
Scoopta
7573eecb02 Cache write is now controlled by the mode, this allows for greater flexibility with caching 2019-11-16 14:52:20 -08:00
Scoopta
b710a3aee5 Added support for alternative desktop actions 2019-11-13 01:17:45 -08:00
Paul Annesley
18be45f69e modes/run: don't segfault on invalid cache lines
Cache lines without a forward-slash resulted in a segfault attempting strlen(NULL + 1), the NULL coming from strrchr().

This patch handles the NULL and displays that cache line varbatim, and without modifying its search_text.
2019-11-08 23:51:05 +11:00
Scoopta
07cb2a65a7 Removed utils_split(), strtok_r() is now used instead 2019-11-04 22:41:53 -08:00
Scoopta
2ab1c53b4d Added support for combi style functionality 2019-11-04 20:56:40 -08:00
Scoopta
5bb351d450 Internal plugin initalizers must now be prefixed with wofi_. This prevents using map, wl_list, wofi, and other mode strings to segfault wofi 2019-11-04 13:25:44 -08:00
Scoopta
da56f43d57 The text used for searches is no longer the same as the text displayed, this allows for a lot more powerful searching especially in drun mode 2019-10-28 14:17:06 -07:00
Scoopta
dcdca16a38 Added support for running software in a terminal from run mode 2019-09-26 23:24:48 -07:00
Scoopta
117868a033 Modularized modes and separated them into their own source files 2019-09-13 00:25:25 -07:00