Commit Graph
100 Commits
Author SHA1 Message Date
Scoopta 973a454799 Added global_coords 2020-02-25 17:13:32 -08:00
Scoopta 937ba8e411 Added drun-print_command 2020-02-25 16:04:40 -08:00
Scoopta 6961672701 Tweaked --lines code. Hopefully it's more reliable now 2020-02-25 00:30:35 -08:00
Scoopta f7b599fe6f Added utils_max(). utils_min() is now a one liner. 2020-02-25 00:13:12 -08:00
Scoopta a1beb82635 line_wrap now takes the wrapping mode instead of a boolean 2020-02-21 00:43:44 -08:00
Scoopta 33a69e713a Added line_wrap config option 2020-02-21 00:17:59 -08:00
Scoopta c0b6233bd6 Ignored debug 2020-02-21 00:16:13 -08:00
Scoopta 81a34c3374 Wofi can now be named wofi-askpass. This is for easy use as a sudo askpass program 2020-02-20 23:51:54 -08:00
Scoopta 91ad565ecc Removed the need to use gtk_widget_get_child_visible() 2020-02-17 00:15:57 -08:00
Scoopta 4d089df33d Fixed arg passing although I used gtk_widget_get_child_visible(). Compared to the alternative I think this is less hacky although maybe a tad not good 2020-02-16 20:34:55 -08:00
Scoopta d96ddcce4f Added support for modifier keys to be bound 2020-02-16 14:43:14 -08:00
Scoopta 459639cd7e Added support for custom key binding 2020-02-15 21:53:02 -08:00
Scoopta d69e4b416f Added dmenu-print_line_num 2020-02-11 10:44:50 -08:00
Scoopta 78129b3404 Added info about disabling caching 2020-02-08 18:55:56 -08:00
Scoopta f4c4abfb02 Forgot I had a min function 2020-02-08 18:13:05 -08:00
Scoopta 400ca061b5 Fixed --lines 2020-02-08 18:04:38 -08:00
Scoopta 779678d1e2 Added null check to fix gtk-critical message 2020-02-07 22:04:15 -08:00
Scoopta bafdea787f Fixed content_halign not working correctly with multi-action entries 2020-02-07 21:06:30 -08:00
Scoopta 6f2e4616ab That's not a very effective null check 2020-02-07 18:10:06 -08:00
Scoopta 28be2d8234 Fixed a null check that itself would cause a segfault 2020-02-07 18:07:46 -08:00
Scoopta 1e131bdce6 Added --sort-order 2020-02-07 18:04:37 -08:00
Scoopta 12dd2fbd4d filter_rate doesn't need to be global anymore 2020-02-07 12:23:57 -08:00
Scoopta 2f00ef2bd6 Replaced the double searching that was used to allow variable filter_rates and replaced it with something that actually makes sense. 2020-02-07 11:51:46 -08:00
Scoopta b7de8057da That only needs to be uint16 2020-02-06 21:50:22 -08:00
Scoopta 0abad1f1c8 Fixed ordering when no search is input 2020-02-06 21:47:59 -08:00
Scoopta afcc0c23f7 The first element is now always highlighted when searching 2020-02-06 21:20:08 -08:00
Scoopta df75b649a5 Added --columns 2020-02-06 18:22:50 -08:00
Scoopta b7fcedf877 Added documentation on referencing colors from your CSS 2020-02-05 16:20:31 -08:00
Scoopta 7534181a8f Added --lines 2020-02-02 22:29:44 -08:00
Scoopta b266a82b4b Added sorting to contains mode based on whether or not the result starts with your search 2020-02-02 13:54:34 -08:00
Scoopta 05cbe1f20a Added documentation for config.h 2020-02-01 23:39:38 -08:00
Scoopta 529d89c718 Added documentation for utils.h 2020-02-01 23:25:57 -08:00
Scoopta a648f2139f Renamed the arguments for utils_distance() 2020-02-01 23:24:04 -08:00
Scoopta abc4c3a548 Added API documentation 2020-02-01 18:03:12 -08:00
Scoopta 5538191317 Changed the signature of wofi_create_widget() to use arrays instead of pointers 2020-02-01 17:44:00 -08:00
Scoopta 7494cb1c7c Removed the utils.h include from config.h as it's not used by config 2020-02-01 17:06:41 -08:00
Scoopta 4fac0ee652 Fixed bug where mode order wasn't being taken into account when loading entries 2020-01-31 23:15:13 -08:00
Scoopta 2f4f53fa44 Added support for using a null byte as the dmenu separator 2020-01-31 22:37:59 -08:00
Scoopta 7c44d9ec4b Added support for the :focus CSS selector 2020-01-31 22:04:07 -08:00
Scoopta 6e472afe6e Added infrastructure for external custom modes, the actual mode code will be committed later 2020-01-31 21:55:28 -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 3a80153e17 Added wofi_insert_widgets()
This allows modes to ask for wofi to query them for new entries
2020-01-31 13:25:04 -08:00
Scoopta 786718602b Actually fixed cache entries that contain a lf 2020-01-29 22:01:29 -08:00
Scoopta 3d39f7aa5f Fixed memory leak 2020-01-29 21:51:25 -08:00
Scoopta c971d19fa0 Fixed caching entries that contain a lf 2020-01-29 21:49:16 -08:00
Scoopta 2de5c8fa48 symlinked folders are excluded from $PATH if the actual folder is included 2020-01-28 17:46:16 -08:00
Scoopta 46b8a23c2f Added build options to turn on/off all built in modes 2020-01-28 14:05:01 -08:00
Scoopta cee642d409 Moved the gdesktopappinfo.h include to drun 2020-01-28 13:56:43 -08:00
Scoopta ef51bc97c1 Explicitly include unistd.h 2020-01-28 13:56:21 -08:00
Scoopta 61fb0e38f1 Improved the distance algorithm to take into account whether or not the result contains the search 2020-01-26 12:18:32 -08:00
Scoopta 755d7b37f6 Removed the if statement in the sort code, it's not needed 2020-01-26 12:03:08 -08:00
Scoopta b41b85a70b Added support for case insensitive fuzzy search 2020-01-26 11:45:56 -08:00
Scoopta b43739921c Pressing escape now exits with error code 1 2020-01-26 11:22:29 -08:00
Scoopta 1d149e8362 Added info about comments and escapes in the config to the man pages 2020-01-26 00:53:25 -08:00
Scoopta 684a5adf95 Fixed up config parsing 2020-01-26 00:44:24 -08:00
Scoopta e00b1bde67 Setting dmenu-separator=\\n will now correctly set it to \n 2020-01-26 00:22:23 -08:00
Scoopta fadbfd4c13 Backslashes are no longer removed from the config completely but can now be escaped with \\ 2020-01-26 00:21:29 -08:00
Scoopta cac4574534 Added the dmenu-separator config option 2020-01-25 14:29:52 -08:00
Scoopta 008f511891 Added the ubuntu package to the package list 2020-01-25 14:16:22 -08:00
Scoopta 6fb839a903 --no-actions doesn't take an argument 2020-01-24 23:44:55 -08:00
Scoopta 5ec88a365e Added --define 2020-01-24 23:36:56 -08:00
Scoopta d57ae47057 Fixed run-always_parse_args=true breaking args caching 2020-01-24 20:00:56 -08:00
Scoopta 32ab068dcc Nice typo 2020-01-23 21:48:24 -08:00
Scoopta 84262b19f4 Modes must explicitly declare support for execution without a matching entry 2020-01-23 20:26:33 -08:00
Scoopta 153c3eac3e Added support for caching args 2020-01-23 19:59:43 -08:00
Scoopta 1939cd6365 Added donation info 2020-01-22 21:14:41 -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 c57070122e Moved wofi_init() to the internal header 2020-01-20 17:29:33 -08:00
Scoopta 5b41ab2ca6 Moved the wofi api to wofi_api.h 2020-01-20 16:22:14 -08:00
Scoopta c47f7acdcd Don't need calloc 2020-01-19 22:16:15 -08:00
Scoopta 868710726e Switched out my map impl for a GTree 2020-01-19 22:09:04 -08:00
Scoopta 22c32c0f2c The error is now freed 2020-01-19 14:57:53 -08:00
Scoopta a84b2cd980 drun no longer ignores the error when launching 2020-01-19 14:55:43 -08:00
Scoopta 395deef056 Updated the description for list in the widget layout 2020-01-18 15:18:05 -08:00
Scoopta e06250403b Updated the widget layout 2020-01-18 15:15:29 -08:00
Scoopta 54654f20bb Added #entry and deprecated .entry, #selected, and #unselected 2020-01-18 14:54:52 -08:00
Scoopta b560f77969 Fixed memory leak 2020-01-16 16:56:08 -08:00
Scoopta f60cdc0167 Fixed cache files not being auto-created 2020-01-16 16:49:57 -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 27227fa3bb Grammar cleanup 2020-01-14 16:16:02 -08:00
Scoopta c3a3a049b5 More - escapes 2020-01-13 20:26:29 -08:00
Scoopta 28e8bd1845 More - escapes 2020-01-13 20:04:53 -08:00
Scoopta 2fa27d7024 Added - escapes 2020-01-13 20:01:58 -08:00
Scoopta 144223b412 Added documentation about the GTK icon cache 2020-01-13 19:39:13 -08:00
Scoopta ae59cdd017 Added a note about the man pages 2020-01-13 19:10:28 -08:00
Scoopta d23e234e35 Updated the list of known packages 2020-01-13 19:07:53 -08:00
Scoopta 8f8c69dc16 Added man pages 2020-01-13 18:59:52 -08:00
Scoopta e7be007842 The color and style config options now have the same semantics as the command line options 2020-01-12 22:20:37 -08:00
Scoopta db8bf96411 Desktop file ids are now used instead of names and paths, a duplication issue caused by caching was also fixed 2020-01-11 16:03:02 -08:00
Scoopta d6bac0e7bb Added --no-actions 2020-01-10 14:34:49 -08:00
Scoopta f00b615f11 Replaced uint8_t with the correct enum types for variables from config_get_mnemonic() 2020-01-07 18:56:57 -08:00
Scoopta 753db64755 And that config_get too 2020-01-07 18:30:34 -08:00
Scoopta 35f537cd15 Cleaned up formatting on that concat 2020-01-07 18:29:26 -08:00
Scoopta 3773a672a2 Added support for searching generic names in drun 2020-01-07 18:10:48 -08:00
Scoopta 43e560788a Fixed keyword searching in drun 2020-01-07 18:08:55 -08:00
Scoopta d07622de3e Copyright update 2020-01-06 16:42:52 -08:00
Scoopta af3188db67 Initialized anchor 2020-01-06 00:40:56 -08:00
Scoopta a85c516926 Good C practices 2020-01-06 00:39:47 -08:00
Scoopta 8bcdfc0f13 Added --location and made -x and -y behave as proper offsets as they do in rofi 2020-01-06 00:28:57 -08:00
Scoopta ff8572fc0d Shift+Tab now goes backwards 2020-01-03 19:54:29 -08:00