Commit Graph

196 Commits

Author SHA1 Message Date
Scoopta
db59ec9d13 OPTION CHANGE: -i and -I have been swapped to improve compatibility with other *nix tools 2019-11-28 22:27:06 -08:00
Apiote
f2f870f367 set line NULL in dmenu mode
Previously line was uninitialised which resulted in getline ending in
segmentation fault.
2019-11-25 13:58:16 +01:00
Scoopta
3c03f89918 Added case insensitive searching 2019-11-25 14:56:46 -08:00
Ian Brunelli
a30d5c09e5 Add a fallback icon to drun entries 2019-11-24 08:46:14 -03:00
Scoopta
f6c0d9d832 Entries with NoDisplay set now still get treated as entries that exist for ID checks 2019-11-23 14:46:23 -08:00
Scoopta
49295d8b13 run mode now searches by executable name only 2019-11-21 21:23:45 -08:00
Scoopta
50838d3d98 Added support for fuzzy searching 2019-11-21 01:01:27 -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
5d271d5d31 Entries without a mode when images are enabled are now displayed as text 2019-11-20 22:05:28 -08:00
Scoopta
43bc6eb5ed Fixed tab selecting expander children when the expander is closed 2019-11-19 19:14:30 -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
c85f6a7209 The scroll bars can now be hidden 2019-11-18 13:42:40 -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
0f78b557b5 Alternative actions now require a double click 2019-11-13 01:42:27 -08:00
Scoopta
b710a3aee5 Added support for alternative desktop actions 2019-11-13 01:17:45 -08:00
Scoopta
9bc345beae drun now searchs by category 2019-11-12 20:41:01 -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
eeb8a8a324 When running as dmenu the cache file will be set to /dev/null 2019-11-06 00:17:22 -08:00
Scoopta
c31327b279 If images are allowed and no display mode is given by the entry then text is used, this allows run to work correctly when images are shown 2019-11-05 09:41:47 -08: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
0eb03b7adc Added --prompt as a long opt for -p 2019-11-04 17:49:34 -08:00
Scoopta
436c1ad0cd dmenu mode no longer uses the search bar contents when enter is pressed, this can be overridden for all modes with -e. Additionally all modes now get the search contents if no results are found. 2019-11-04 17:46:39 -08:00
Scoopta
a459a29ca1 Fixed weird behavior when only one option is present 2019-11-04 13:55:35 -08:00
Scoopta
9d5e8e2e5a External modes are now loaded with RTLD_LOCAL 2019-11-04 13:29:53 -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
97dd534c97 Fixed some portability issues with wofi 2019-11-03 20:20:00 -08:00
Scoopta
ea7893eb12 Added support for loading desktop files from nested directories 2019-11-02 11:58:51 -07:00
Scoopta
2d08672f86 There are now secondary config options that match the command line flags if the original options didn't 2019-11-01 16:57:24 -07:00
Scoopta
8093c05fe1 The search text for drun no longer contains the image insertion sequences 2019-10-28 14:33:11 -07: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
84ffcb589d File icons are now supported 2019-10-27 12:14:18 -07:00
Scoopta
4bdd94a90e Added password mode 2019-10-22 21:19:57 -07:00
Scoopta
9e96c9ee6a Only one desktop entry with a given ID will show up in drun mode 2019-10-19 20:23:23 -07:00
Scoopta
44a8e79fd7 Fixed #inner-box having weird behavior when margins are set 2019-10-13 12:42:05 -07:00
Scoopta
64348d4fb1 Fixed the persistent black border when in horizontal mode 2019-10-12 23:56:27 -07:00
Scoopta
dde5b2376f The horizontal orientation now behaves more like classic dmenu 2019-10-12 22:24:35 -07:00
Scoopta
496e075b0e Tab can now be used to cycle between search results 2019-10-07 02:50:26 -07:00
Scoopta
c6cf131a94 Shift will no longer cause the search box to pull focus 2019-09-30 21:38:56 -07:00
Scoopta
dcdca16a38 Added support for running software in a terminal from run mode 2019-09-26 23:24:48 -07:00
Scoopta
734dd6d6b6 Fixed some of the bugs introduced by the recent change to not focus the entry by default 2019-09-19 00:45:57 -07:00
Scoopta
f1fb568d5c The entry box no longer gets focus at launch, this allows the user to see the prompt without manually changing focus 2019-09-18 23:35:51 -07:00
Scoopta
0cee332f2e When images are not allowed the labels now get the name text 2019-09-15 16:29:15 -07:00
Scoopta
b0e8fac705 Added gio-unix-2.0 to pkg-config to fix NixOS building 2019-09-14 14:31:04 -07:00
Scoopta
8a493917c2 config_get_mnemonic() is now used when getting the orientation option 2019-09-13 00:39:41 -07:00
Scoopta
117868a033 Modularized modes and separated them into their own source files 2019-09-13 00:25:25 -07:00
Scoopta
323af30d68 Replaced execlp() with execl() as a path search is not required 2019-09-12 14:27:39 -07:00
Scoopta
ab32b4b513 The entires are no longer named entry when inserted but they now have an entry class applied to them 2019-09-12 12:38:24 -07:00
Scoopta
55da236d4e Fixed a use after free when getting the cache path 2019-09-12 11:06:57 -07:00