Go to file
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
inc Added wofi_widget_builder_insert_text_with_list() and wofi_widget_builder_insert_image_with_list() 2022-07-04 01:16:03 -07:00
man Refactor key mapping modifier logic 2022-12-11 05:04:34 -08:00
modes Added the config option drun-disable_prime to disable prime GPU offloading 2022-12-25 15:54:50 -08:00
proto Added global_coords 2020-02-25 17:13:32 -08:00
src Refactor key mapping modifier logic 2022-12-11 05:04:34 -08:00
.build.yml Moved to meson 2019-12-20 18:29:11 -08:00
.hgignore Fixed key_submit not properly working with multi-action entires 2020-08-27 19:18:42 -07:00
.hgtags Added tag v1.3 for changeset 1c32143a8460 2022-10-06 19:35:22 -07:00
COPYING.md First commit 2019-08-17 18:19:32 -07:00
meson_options.txt Removed the version flag in favor of setting the project version 2020-02-28 22:02:10 -08:00
meson.build Removed version number 2022-10-06 19:38:02 -07:00
README.md Updated meson command in readme 2023-01-28 17:35:03 -08:00

Wofi

Wofi is a launcher/menu program for wlroots based wayland compositors such as sway

builds.sr.ht status

Dependencies

libwayland-dev
libgtk-3-dev
pkg-config
meson

Building

hg clone https://hg.sr.ht/~scoopta/wofi
cd wofi
meson setup build
ninja -C build

Installing

sudo ninja -C build install

Uninstalling

sudo ninja -C build uninstall

Bug Reports

Please file bug reports at https://todo.sr.ht/~scoopta/wofi

Contributing

Please submit patches to https://lists.sr.ht/~scoopta/wofi

You can find documentation here https://man.sr.ht/hg.sr.ht/email.md

drun and dbus

Some desktop files declare themselves as being launched by dbus, if this is the case wofi can experience issues on systems where a user session bus is not automatically started such as systems using elogind.

To manually launch a user session bus run the following:

dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus

Packages

Packaging status

Documentation

The official documentation is provided by the man pages in this repository, sample styling can be found here https://cloudninja.pw/docs/wofi.html

Donating

If you feel like supporting development you can donate at https://ko-fi.com/scoopta

Screenshots

example 4