Commit Graph

438 Commits

Author SHA1 Message Date
Scoopta
192ec0e13a The hide_search config option now behaves correctly. It does exactly the same thing as key_hide_search but on launch. This now also allows you to un-hide the search with key_hide_search if wofi is launched with hide_search=true 2024-04-06 00:40:43 -07:00
Scoopta
8f384c3e2a Fixed #216 arrow key issue. This was caused by the fix to #184. Both issues should now be resolved 2024-03-19 16:42:32 -07:00
Scoopta
10c2a2a2d0 Fixed segfault when cache is broken #213 2024-02-11 20:30:12 -08:00
Scoopta
39ac8366fe Added tag v1.4.1 for changeset 1e89e8a94806 2024-02-09 11:22:31 -08:00
Scoopta
fa72a9e6b9 v1.4.1 2024-02-09 11:22:27 -08:00
Scoopta
a9868654c2 Changed the function signature of config_get_mnemonic(). This new signature uses the correct types so that the default argument promotions caused by varargs is in spec. 2024-02-08 11:08:16 -08:00
Scoopta
c725ce2496 Updated .build.yml 2024-02-08 10:50:12 -08:00
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
32795acb20 Added tag v1.4 for changeset eab2b31e8055 2024-02-04 15:26:25 -08:00
Scoopta
89914c6a69 v1.4 2024-02-04 15:26:21 -08:00
Scoopta
a5baf43417 Added documentation for key_custom_n 2024-02-04 15:04:54 -08:00
Scoopta
338917b194 Fixed bug reported in https://github.com/swaywm/sway/issues/7915 2024-01-22 22:38:44 -08:00
Scoopta
421ce981d8 Fixed malloc for pre_display_exec 2024-01-21 00:24:14 -08:00
Scoopta
7d84a6c9f3 Forgot to cleanup zombie processes 2024-01-21 00:23:20 -08:00
Scoopta
0ca83d416b Fixed closing the file handle when pre_display_exec=true 2024-01-20 22:11:27 -08:00
Scoopta
81e1877ac6 Added pre_display_exec which allows pre_display_cmd to be directly executed with fork/exec instead of through the shell 2024-01-20 22:08:33 -08:00
Scoopta
5af07b7410 Fixed segfault when running non shell safe inputs with --pre-display-cmd and --allow-images
Ex. echo '"' | wofi --dmenu --pre-display-cmd "echo %s" --allow-images
2024-01-20 20:07:03 -08:00
Scoopta
1f5161eb66 Added the drun-print_desktop_file option 2024-01-19 13:50:37 -08:00
Scoopta
3410f97499 Fixed weird tabbing behavior 2024-01-19 00:14:42 -08:00
Scoopta
5015362414 Fixed indentation 2023-08-13 18:17:30 -07:00
otaj
fb6a7f7301 Make sure that the first calculation of percent size is done when the window is visible 2023-08-08 23:00:43 +02:00
zvon
4017218adb Add documentation for #expander-box 2023-07-09 11:06:05 +02:00
zvon
c46d3ffdda Rename #expander to #expander-box 2023-07-09 11:02:19 +02:00
zvon
9611569db6 Add #expander selector so expanded actions can be themed 2023-07-09 00:41:44 +02:00
Scoopta
81ea8042a7 Fixed #193. drun mode now respects Hidden 2023-07-04 22:51:29 -07:00
Scoopta
ec06bd8dcb Updated readme build dependencies list 2023-03-06 19:43:23 -08:00
Scoopta
866fd2af31 on_exit_set_custom_key_return_code() now flushes stdio, this fixes #197 2023-03-02 23:12:34 -08:00
Andreas Schmidt
51c517b79c Add return codes for custom keys
In order to be able to execute various post actions.
When pressing these keys a return code 10 + X is returned
as soon as wofi is exited.
Currenty 20 custom keys have been defined.
2023-02-25 11:58:49 +01:00
Scoopta
ec569f3f36 Removed extraneous ; 2023-02-20 21:02:58 -08:00
jim jammer
f4ebbed7a8 Refactor key mapping modifier logic
- Consolidate a modifier's "left" and "right" variants to just one
  modifier referred to by its name or mask. E.g. Control_L and Control_R are
  resolved by detecting the mask and are both associated with the name "Ctrl".

- Store string representations of the modified key values as the keys to
  the key entry map (exactly how they appear in the config file). E.g.
  the string "Ctrl-m" would be the key to the map entry for a custom
  Ctrl-m binding (whereas before the key would've only been "m", a
  source of ambiguity and conflict).

- During init, pass through key mapping entry logic twice: once for
  inputting the defaults, and a second time for adding any custom
  mappings as defined by the config file. This allows defaults to stay
  in place unless a user chooses to blow them away. E.g. mapping Ctrl-p
  to key_up shouldn't blow away key_up's default mapping to up arrow,
  and this fixes that use case.

These changes resolve several bugs due to key mapping resolution ambiguity and
conflicts, and generally make key mapping more intuitive. However, a new quirk
is that keys that are obtained using Shift (like "J", aka "capital j") now
require the use of Shift modifier when configuring that binding.
2022-12-11 05:04:34 -08:00
Scoopta
ee2bab5d17 Updated the man pages with the new terminal order 2023-01-28 18:43:54 -08:00
Scoopta
7966777dd5 Added wezterm to the default terminal list and moved termite to the end of the sane terminal section since it's now deprecated 2023-01-28 17:59:51 -08:00
Scoopta
a6c3188045 Updated meson command in readme 2023-01-28 17:35:03 -08:00
Scoopta
9aa93ed272 Added the config option drun-disable_prime to disable prime GPU offloading 2022-12-25 15:54:50 -08:00
Scoopta
4dd03d040e Replaced the README package list with a repology badge 2022-10-08 14:18:26 -07:00
Scoopta
e891ad71df Removed version number 2022-10-06 19:38:02 -07:00
Scoopta
bddf540ad3 Added tag v1.3 for changeset 1c32143a8460 2022-10-06 19:35:22 -07:00
Scoopta
31c660fb0a v1.3 2022-10-06 19:35:13 -07:00
Scoopta
c6ddc5222b Changed donation link to ko-fi since they take paypal unlike a certain buymeacoffe 2022-07-27 20:52:17 -07:00
mazunki
84c3d80560 Bugfix: removed malloc() exception caused when using --pre-display-cmd
Should we update the version number, too?
2022-07-17 02:32:05 +02:00
Scoopta
a3a8f3c3f9 Added the single_click config option 2022-07-13 21:36:38 -07:00
Scoopta
49d41d0497 Added the with_list() variants of the insert text and insert image functions in widget builder to the man pages 2022-07-05 14:30:02 -07:00
Scoopta
8ad0ee3ac4 Added wofi_widget_builder_insert_text_with_list() and wofi_widget_builder_insert_image_with_list() 2022-07-04 01:16:03 -07:00
Scoopta
efbc44fd98 Added a null check to the pixbuf for drun image loading to clean up runtime GTK warnings 2022-06-29 19:53:29 -07:00
Scoopta
fa0d3dfa5d Fixed indentation in match.c 2022-06-28 08:11:48 -07:00
"Michael Hauser-Raspe"
10a173f069 Fix insensitive mode. 2022-06-28 01:54:36 +01:00
"Michael Hauser-Raspe"
4aad9b7385 Stylistic improvements. 2022-06-27 19:58:04 +01:00
"Michael Hauser-Raspe"
77cd2b32c7 Extract text matching to it's own file. 2022-06-26 01:51:48 +01:00
"Michael Hauser-Raspe"
f6d3169bfc Create fuzzy scoring and fuzzy sort. 2022-06-25 00:41:32 +01:00
"Michael Hauser-Raspe"
a554ae22f3 Add fuzzy filtering. 2022-06-15 18:07:40 +01:00