An open API service indexing awesome lists of open source software.

https://github.com/simplyceo/wofi

Wofi is a launcher/menu program for wlroots based wayland compositors such as sway.
https://github.com/simplyceo/wofi

Last synced: 9 months ago
JSON representation

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

Awesome Lists containing this project

README

          

Wofi
====

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

This repository is a fork of https://hg.sr.ht/~scoopta/wofi with some [additions](https://github.com/SimplyCEO/wofi/commits/master/?author=SimplyCEO).

Dependencies
------------

- PkgConf
- Wayland
- GLib2
- GObject
- GTK3

`cmake` or `meson` is required to build.
Use CMake if your C compiler is not GCC or Clang.

Building
--------

Clone the repository:

```shell
git clone --depth 1 https://github.com/SimplyCEO/wofi.git
cd wofi
```

Then build with your desired build system:

- CMake:

```shell
cmake -S . -B build \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DENABLE_RUN=1 \
-DENABLE_DRUN=1 \
-DENABLE_DMENU=1
cmake --build build
```

There are more available options in [CMakeLists.txt](/CMakeLists.txt).
```shell
cat CMakeLists.txt | head -n 87 | tail -n $((87-66)) | less
```

- Meson:

```shell
meson setup build
ninja -C build
```

Installing
----------

- CMake:

```shell
su -c "cmake --install build"
```

- Meson:

```shell
su -c "ninja -C build install"
```

Uninstalling
------------

- CMake:

```shell
su -c "xargs -a build/install_manifest.txt rm"
```

- Meson:

```shell
su -c "ninja -C build uninstall"
```

Bug Reports
-----------

This fork is not connected to mainstream, so, for any bugs
regarding newer software behaviour please file reports at their
sourcehut repository: https://todo.sr.ht/~scoopta/wofi

Contributing
------------

It is advised to submit patches to https://lists.sr.ht/~scoopta/wofi
since this fork is not connected to mainstream.

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:

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

Packages
--------

[![Packaging status](https://repology.org/badge/vertical-allrepos/wofi.svg)](https://repology.org/project/wofi/versions)

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](https://f.cloudninja.pw/Scaled_4.png)](https://f.cloudninja.pw/Rootbar_Example_4.png)