Commit Graph

167 Commits

Author SHA1 Message Date
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
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
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
4bdd94a90e Added password mode 2019-10-22 21:19:57 -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
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
Scoopta
13f67facfb g_app_info_launch_uris_async() is now used for drun mode 2019-09-11 21:00:26 -07:00
Scoopta
26107c8ee5 Fixed entries not showing for apps without icons 2019-09-04 16:01:58 -07:00
Scoopta
52c3c220ba Added a null check for the icon info 2019-09-04 16:01:10 -07:00
Scoopta
de5da5dd98 Changed that check to a NULL check seeing as it'll always be a GDesktopAppInfo 2019-09-04 15:45:49 -07:00
Scoopta
9e12533317 The image and label widgets now have names 2019-09-01 20:07:15 -07:00
Scoopta
4e145de42d Set the name for the entry boxes 2019-09-01 20:04:36 -07:00
Scoopta
5afa0de598 Fixed dmenu caching 2019-08-28 22:21:43 -07:00
Scoopta
389cb8e299 Flipped the orientation option, it just makes more sense this way 2019-08-28 22:05:51 -07:00
Scoopta
281ae02639 Forgot a linefeed on the --cache-file option 2019-08-28 22:02:29 -07:00
Scoopta
c814c813c5 Fixed the down arrow key skipping the first entry when inside of the search bar 2019-08-28 21:55:30 -07:00
Incin
e84ebfc943 Refactor to use FlowBox instead of ListBox to allow setting the box orientation 2019-08-28 20:33:08 -06:00
Scoopta
76d77a43ec If the filter property on the entry is NULL the entry is now hidden instead of causing a crash 2019-08-28 21:15:29 -07:00
Scoopta
a499c1cacd Reduced code duplication when inserting widgets 2019-08-28 20:43:47 -07:00
Scoopta
5cbc889868 Added caching support do dmenu 2019-08-28 20:26:41 -07:00
Scoopta
0a110def8f Added the ability to specify the cache file to use 2019-08-28 20:14:38 -07:00
Scoopta
cb2241574d Fixed situations where text may be uninitialized 2019-08-28 17:37:09 -07:00
Scoopta
e4fa39ed8c Added an image_size config option 2019-08-28 17:36:20 -07:00
Scoopta
f80d5b422f Added support for desktop icons in drun mode 2019-08-28 17:33:11 -07:00
Scoopta
abd571485f Added support for pango markup 2019-08-28 00:58:45 -07:00
Scoopta
e3c79c3bd4 Added support for inline images, this currently only works in dmenu mode 2019-08-27 23:15:18 -07:00
Scoopta
34681ca8f9 We no longer use tooltips for metadata YAY! 2019-08-27 21:36:44 -07:00
Scoopta
19aaa18391 Search response time is now configurable and should now be much more responsive by default 2019-08-26 21:19:59 -07:00
Scoopta
aab2a72264 Moved label creation to insert_widget(gpointer) hopefully this fixes the rare, weird crash 2019-08-23 00:51:18 -07:00
Scoopta
372cbfbbd4 Searches are no longer case sensitive 2019-08-19 17:48:18 -07:00
Scoopta
0631d72e3b Executing the search bar will now execute the first result instead of the contents of the bar unless in dmenu mode 2019-08-19 17:34:12 -07:00
Scoopta
133fcdd1e9 Added caching support 2019-08-18 20:49:12 -07:00
Scoopta
20f3d5769d Desktop entries with Hidden or NoDisplay set will no longer be shown 2019-08-18 18:41:16 -07:00
Scoopta
1eeba63c69 The contents of the search box will no longer be deleted on auto-focus 2019-08-18 18:31:34 -07:00
Scoopta
9c7641ccbc If you start typing while in the selection area the text box will auto focus 2019-08-18 18:23:45 -07:00
Scoopta
ac056dee0a Fixed dmenu mode 2019-08-18 18:12:05 -07:00
Scoopta
194724b40e Fixed performance when there are A LOT of entries like in run mode 2019-08-18 18:06:13 -07:00
Scoopta
fef2a8428a The window title is now set to the prompt 2019-08-17 22:00:23 -07:00
Scoopta
574ed3f590 If the wofi executable is named dmenu then it will auto use the dmenu mode 2019-08-17 21:15:59 -07:00
Scoopta
ff58351a73 drun now actually works 2019-08-17 20:58:06 -07:00
Scoopta
67e6dce992 Fixed some minor issues with run 2019-08-17 20:22:36 -07:00
Scoopta
96cfbab518 Added drun 2019-08-17 20:21:52 -07:00
Scoopta
d13b02703f Added the ability to run wofi in a normal window 2019-08-17 19:22:09 -07:00
Scoopta
57ea0caf59 Added an error for unknown modes 2019-08-17 18:43:06 -07:00
Scoopta
b0cfc91e0a mode can now be set in the config 2019-08-17 18:40:48 -07:00
Scoopta
ad7a51a367 Added selected and unselected CSS selectors 2019-08-17 18:34:56 -07:00
Scoopta
2bae6e0f66 First commit 2019-08-17 18:19:32 -07:00