From 98e1a318f21a901936d0b8bef8f768d2253c53d3 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Sun, 28 Mar 2021 19:30:11 -0300 Subject: [PATCH] mako: update config --- config.yaml | 2 +- dotfiles/mako.conf | 27 +++++++++++++++++++++++---- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/config.yaml b/config.yaml index 5509392..9e1a940 100644 --- a/config.yaml +++ b/config.yaml @@ -199,7 +199,7 @@ actions: notify: > test -n "$DISPLAY" && - notify-send + notify-send --app-name=dotdrop "Updating dotfiles" "{{@@ _dotfile_abs_dst.lstrip(env['HOME']) @@}}" || true diff --git a/dotfiles/mako.conf b/dotfiles/mako.conf index 83a8e9e..4ed5b21 100644 --- a/dotfiles/mako.conf +++ b/dotfiles/mako.conf @@ -1,17 +1,36 @@ # {{@@ header() @@}} -font={{@@ font.interface @@}} 12 + +# text +font={{@@ font.interface @@}} {{@@ font.size.small @@}} text-color={{@@ color.txt @@}} + +# colors background-color={{@@ color.bg @@}}{{@@ opacity | clamp_to_hex @@}} border-color={{@@ accent_color @@}} -border-size=5 -progress-color={{@@ accent_color @@}} +progress-color=over {{@@ accent_color @@}}88 + +# decoration +border-size=2 +padding=5 +margin=15 + +# features icons=1 -default-timeout=10000 markup=1 actions=1 +default-timeout=10000 + +# position layer=overlay [app-name=volumesh] default-timeout=5000 group-by=app-name format=%s\n%b + +[app-name=dotdrop] +default-timeout=5000 +group-by=app-name +format=%s\n%b + +# vim: ft=ini