Mako: Difference between revisions

From Alpine Linux
m (fixed typo)
(added references)
Line 1: Line 1:
[https://github.com/emersion/mako Mako] is a lightweight notification daemon for [[Wayland]] that works with [[Sway]].
[https://github.com/emersion/mako Mako] is a lightweight notification daemon for [[Wayland]] that works with [[Sway]].
== Prerequisites ==
* Mako requires [[D-Bus]] service to be running.


== Installation ==
== Installation ==
Line 21: Line 25:


Follow the steps outlined in [[OpenRC#User services|User service in OpenRC]], if not already done. Finally, add the service for mako as follows: {{Cmd|$ rc-update add --user org.freedesktop.Notifications gui}}
Follow the steps outlined in [[OpenRC#User services|User service in OpenRC]], if not already done. Finally, add the service for mako as follows: {{Cmd|$ rc-update add --user org.freedesktop.Notifications gui}}
== See also ==
* [https://github.com/emersion/mako/wiki mako wiki]


[[Category:System Administration]]
[[Category:System Administration]]

Revision as of 05:35, 29 May 2025

Mako is a lightweight notification daemon for Wayland that works with Sway.

Prerequisites

  • Mako requires D-Bus service to be running.

Installation

Installation the mako package as per command: {{# apk add mako}}

Configuration

To configure mako as User service in OpenRC, an executable file ~.config/rc/init.d/org.freedesktop.Notifications has to be created with the following content

Contents of ~.config/rc/init.d/org.freedesktop.Notifications

#!/sbin/openrc-run description="org.freedesktop.Notifications" command="/usr/bin/mako" supervisor=supervise-daemon error_logger="logger -t '${RC_SVCNAME}' -p daemon.error" depends() { use dbus }

Follow the steps outlined in User service in OpenRC, if not already done. Finally, add the service for mako as follows:

$ rc-update add --user org.freedesktop.Notifications gui

See also