• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.builds/H11-Jul-2021-6663

contrib/H11-Jul-2021-193165

dbus/H11-Jul-2021-921728

include/H11-Jul-2021-715545

protocol/H11-Jul-2021-336280

.editorconfigH A D11-Jul-2021129 97

.gitignoreH A D11-Jul-2021456 5847

LICENSEH A D11-Jul-20211 KiB2217

README.mdH A D11-Jul-20211.8 KiB7247

cairo-pixbuf.cH A D11-Jul-20212.5 KiB9272

config.cH A D11-Jul-202127.2 KiB930770

criteria.cH A D11-Jul-202115.7 KiB574458

event-loop.cH A D11-Jul-20216.2 KiB287232

fr.emersion.mako.service.inH A D11-Jul-202170 43

icon.cH A D03-May-20227.8 KiB288217

main.cH A D11-Jul-20214.5 KiB133114

mako.1.scdH A D11-Jul-2021823 3823

mako.5.scdH A D03-May-202212.6 KiB440304

makoctlH A D11-Jul-20213.3 KiB144133

makoctl.1.scdH A D11-Jul-20211.9 KiB9058

meson.buildH A D11-Jul-20213.4 KiB159137

notification.cH A D11-Jul-202114.8 KiB548434

pool-buffer.cH A D11-Jul-20213.2 KiB150125

render.cH A D11-Jul-202114.4 KiB455348

string-util.cH A D11-Jul-2021409 2821

surface.cH A D11-Jul-2021990 4032

types.cH A D11-Jul-20218.6 KiB364301

wayland.cH A D11-Jul-202122.6 KiB753598

README.md

1# mako
2
3A lightweight notification daemon for Wayland. Works on Sway.
4
5<p align="center">
6  <img src="https://sr.ht/meoc.png" alt="mako screenshot">
7</p>
8
9mako implements the [FreeDesktop Notifications Specification][spec].
10
11Feel free to join the IRC channel: #emersion on irc.libera.chat.
12
13## Running
14
15
16`mako` will run automatically when a notification is emitted. This happens via
17D-Bus activation, so you don't really need to explicitly start it up (this also
18allows delaying its startup time and speed up system startup).
19
20If you have several notification daemons installed though, you might want to
21explicitly start this one. Some ways of achieving this is:
22
23- If you're using Sway you can start mako on launch by putting `exec mako` in
24  your configuration file.
25
26- If you are using elogind, you might need to manually start a dbus user
27  session: `dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus`
28
29## Configuration
30
31`mako` can be extensively configured and customized - feel free to read more
32using the command `man 5 mako`
33
34For control of mako during runtime, `makoctl` can be used; see `man makoctl`
35
36## Building
37
38Install dependencies:
39
40* meson (build-time dependency)
41* wayland
42* pango
43* cairo
44* systemd, elogind or [basu] (for the sd-bus library)
45* gdk-pixbuf (optional, for icons support)
46* dbus (runtime dependency, user-session support is required)
47* scdoc (optional, for man pages)
48* jq (optional, runtime dependency)
49
50Then run:
51
52```shell
53meson build
54ninja -C build
55build/mako
56```
57
58<p align="center">
59  <img src="https://sr.ht/frOL.jpg" alt="mako">
60</p>
61
62## I have a question!
63
64See the [faq section in the wiki](https://github.com/emersion/mako/wiki/Frequently-asked-questions).
65
66## License
67
68MIT
69
70[spec]: https://specifications.freedesktop.org/notification-spec/notification-spec-latest.html
71[basu]: https://github.com/emersion/basu
72