~tardypad/dotfiles

7dd5e02494e2821ff6b4fd5758a590ef03b5403b — Damien Tardy-Panis 2 years ago 758fecf
add mako package config

simple config for all messages type
autostarted from sway config
6 files changed, 52 insertions(+), 0 deletions(-)

M Makefile
M README.md
A packages/mako/Makefile
A packages/mako/README.md
A packages/mako/config
M packages/sway/config
M Makefile => Makefile +1 -0
@@ 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

M README.md => README.md +1 -0
@@ 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)                                                |

A packages/mako/Makefile => packages/mako/Makefile +6 -0
@@ 0,0 1,6 @@
mako:
	$(start_setup)

	$(call copy_file,config,${CONFIG_DIR}/mako/config)

	$(end_setup)

A packages/mako/README.md => packages/mako/README.md +7 -0
@@ 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)

A packages/mako/config => packages/mako/config +34 -0
@@ 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=<span foreground='#{color/foreground/hex}' weight='bold'>%s</span>\n%b
default-timeout=0

[category="info"]
border-color=#{color/info/hex}
format=<span foreground='#{color/info/hex}' weight='bold'> %s</span>\n%b

[category="notice"]
border-color=#{color/notice/hex}
format=<span foreground='#{color/notice/hex}' weight='bold'> %s</span>\n%b

[category="warning"]
border-color=#{color/warning/hex}
format=<span foreground='#{color/warning/hex}' weight='bold'> %s</span>\n%b

[category="error"]
border-color=#{color/error/hex}
format=<span foreground='#{color/error/hex}' weight='bold'> %s</span>\n%b

[category="alert"]
border-color=#{color/alert/hex}
format=<span foreground='#{color/alert/hex}' weight='bold'> %s</span>\n%b

M packages/sway/config => packages/sway/config +3 -0
@@ 44,3 44,6 @@ set $ws10 "10  Web"
include config.d/*

exec systemctl --user import-environment DISPLAY SWAYSOCK

# start notification daemon
exec mako