Commit Graph

25 Commits

Author SHA1 Message Date
Scoopta
a6e66d7cb7 Added wofi_exit(). This allows correct handling of custom exit status codes on non-glibc systems. This function should always be used for exiting wofi as libc exit() will no longer correctly handle error situations. 2024-02-07 18:16:11 -08:00
Scoopta
29aeffd8c1 Cleaned up includes, they were a bit of a mess 2020-03-25 23:05:46 -07:00
Scoopta
7cdc682a6d Added support for using \t as a separator in dmenu mode 2020-03-07 21:12:14 -08:00
Scoopta
8796993fb6 Modes are no longer loaded on their own thread. It's not really needed, breaks drun mode with images, and is probably confusing for 3rd-party mode developers. 2020-03-07 19:55:30 -08:00
Scoopta
d69e4b416f Added dmenu-print_line_num 2020-02-11 10:44:50 -08:00
Scoopta
2f4f53fa44 Added support for using a null byte as the dmenu separator 2020-01-31 22:37:59 -08:00
Scoopta
7c511264df Good C practices, one day I'll remember to do this all the time 2020-01-31 13:29:00 -08:00
Scoopta
e00b1bde67 Setting dmenu-separator=\\n will now correctly set it to \n 2020-01-26 00:22:23 -08:00
Scoopta
cac4574534 Added the dmenu-separator config option 2020-01-25 14:29:52 -08:00
Scoopta
84262b19f4 Modes must explicitly declare support for execution without a matching entry 2020-01-23 20:26:33 -08:00
Scoopta
05490241a9 Modes no longer have to pass a name that matches the name they were loaded with, this was just absurdly bad design and I don't know how I came up with it in the first place 2020-01-20 20:09:40 -08:00
Scoopta
e5300b2995 Changed the widget insertion system, this should hopefully increase performance and be an all around better system 2020-01-16 16:35:51 -08:00
Scoopta
d07622de3e Copyright update 2020-01-06 16:42:52 -08:00
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
8594fc52a3 Parsing image escapes and markup will only occur if their respective options are enabled 2019-12-16 19:38:12 -08:00
Scoopta
c248461260 Added parse_action option to dmenu 2019-12-16 19:15:16 -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
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
Scoopta
2ab1c53b4d Added support for combi style functionality 2019-11-04 20:56:40 -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
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
117868a033 Modularized modes and separated them into their own source files 2019-09-13 00:25:25 -07:00