From 7dd5e02494e2821ff6b4fd5758a590ef03b5403b Mon Sep 17 00:00:00 2001 From: Damien Tardy-Panis Date: Fri, 22 Mar 2019 23:47:12 +0100 Subject: [PATCH] add mako package config simple config for all messages type autostarted from sway config --- Makefile | 1 + README.md | 1 + packages/mako/Makefile | 6 ++++++ packages/mako/README.md | 7 +++++++ packages/mako/config | 34 ++++++++++++++++++++++++++++++++++ packages/sway/config | 3 +++ 6 files changed, 52 insertions(+) create mode 100644 packages/mako/Makefile create mode 100644 packages/mako/README.md create mode 100644 packages/mako/config diff --git a/Makefile b/Makefile index 38f359c2..c7b4f308 100644 --- a/Makefile +++ b/Makefile @@ -42,6 +42,7 @@ include packages/httpie/Makefile include packages/i3blocks/Makefile include packages/less/Makefile include packages/libqalculate/Makefile +include packages/mako/Makefile include packages/mopidy/Makefile include packages/ncmpcpp/Makefile include packages/neomutt/Makefile diff --git a/README.md b/README.md index 44590b9f..7c0fb4d1 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ All packages selected are [Free Software](https://www.gnu.org/philosophy/free-sw | [i3blocks](packages/i3blocks) | window manager status line | [Github](https://github.com/vivien/i3blocks) | | [1.4](https://github.com/vivien/i3blocks/releases/tag/1.4) | | [less](packages/less) | pager | [GNU](http://ftp.gnu.org/gnu/less/) | | [530](http://ftp.gnu.org/gnu/less/less-530.tar.gz) | | [libqalculate](packages/libqalculate) | calculator | [Github](https://github.com/Qalculate/libqalculate) | | [3.0.0](https://github.com/Qalculate/libqalculate/releases/tag/v3.0.0) | +| [mako](packages/mako) | notifications daemon | [Github](https://github.com/emersion/mako) | | [1.2](https://github.com/emersion/mako/releases/tag/v1.2) | | [mopidy](packages/mopidy) | music server | [Github](https://github.com/mopidy/mopidy) | | [2.2.2](https://github.com/mopidy/mopidy/releases/tag/v2.2.2) | | [ncmpcpp](packages/ncmpcpp) | MPD client | [Github](https://github.com/arybczak/ncmpcpp) | | [0.8.2](https://github.com/arybczak/ncmpcpp/releases/tag/0.8.2) | | [neomutt](packages/neomutt) | mail client | [Github](https://github.com/neomutt/neomutt) | | [20180716](https://github.com/neomutt/neomutt/releases/tag/neomutt-20180716) | diff --git a/packages/mako/Makefile b/packages/mako/Makefile new file mode 100644 index 00000000..5c4cbc24 --- /dev/null +++ b/packages/mako/Makefile @@ -0,0 +1,6 @@ +mako: + $(start_setup) + + $(call copy_file,config,${CONFIG_DIR}/mako/config) + + $(end_setup) diff --git a/packages/mako/README.md b/packages/mako/README.md new file mode 100644 index 00000000..ca645fbf --- /dev/null +++ b/packages/mako/README.md @@ -0,0 +1,7 @@ +# Mako + +Notifications daemon + +Source [Github](https://github.com/emersion/mako) + +Version [1.2](https://github.com/emersion/mako/releases/tag/v1.2) diff --git a/packages/mako/config b/packages/mako/config new file mode 100644 index 00000000..fc189847 --- /dev/null +++ b/packages/mako/config @@ -0,0 +1,34 @@ +font=Source Sans Pro, Font Awesome 5 Free 14 + +background-color=#{color/background/hex} +text-color=#{color/foreground/hex} +width=300 +height=200 +margin=20 +padding=5 +border-size=5 +border-color=#{color/foreground/hex} +markup=1 +actions=1 +format=%s\n%b +default-timeout=0 + +[category="info"] +border-color=#{color/info/hex} +format= %s\n%b + +[category="notice"] +border-color=#{color/notice/hex} +format= %s\n%b + +[category="warning"] +border-color=#{color/warning/hex} +format= %s\n%b + +[category="error"] +border-color=#{color/error/hex} +format= %s\n%b + +[category="alert"] +border-color=#{color/alert/hex} +format= %s\n%b diff --git a/packages/sway/config b/packages/sway/config index 2617a9a6..af3a4e49 100644 --- a/packages/sway/config +++ b/packages/sway/config @@ -44,3 +44,6 @@ set $ws10 "10  Web" include config.d/* exec systemctl --user import-environment DISPLAY SWAYSOCK + +# start notification daemon +exec mako -- 2.34.5