diff --git a/mako.conf b/mako.conf new file mode 100644 index 000000000..659957325 --- /dev/null +++ b/mako.conf @@ -0,0 +1,51 @@ +font=Anonymice Nerd Font Mono Regular 11 +width=300 +height=100 +icon-path=/var/home/jpm/.dotfiles/icons/Gruvbox/ +#max-history=100 +sort=-priority +# Bindings allow one to perform an action when an event is triggered. Supported values are none, dismiss, dismiss-all, dismiss-group, invoke-action , invoke-default-action and exec . +on-button-left=invoke-default-action +on-button-middle=dismiss-group +on-button-right=dismiss +on-touch=dismiss +#on-notify=action +on-button-middle=exec makoctl menu -n "$id" dmenu -p ’Select action: ’ +#on-notify=exec mpv /usr/share/sounds/freedesktop/stereo/message.oga +# space around all notifications +outer-margin=0 +# space between each notification +margin=10,0,0,10 +padding=5 +border-size=2 +border-color=#83a598 +border-radius=0 +#Progress can be indicated in a notification by setting a hint, "value" to an integer between 0 and 100 inclusive. +progress-color=over #ebdbb2 +icons=1 +max-icon-size=64 +#icon-path= +icon-location=left +markup=1 +actions=1 +history=1 +#format=format +# Set notification format string to format. See FORMAT SPECIFIERS for more information. To +# change this for grouped notifications, set it within a grouped criteria. +# Default: %s\n%b +# Default when grouped: (%g) %s\n%b +text-alignment=left +default-timeout=0 +group-by=app-name +max-visible=10 +output= +layer=top +anchor=bottom-right +background-color=#458588 +text-color=#ebdbb2 + +[app-name="Rocket.Chat"] +ignore-timeout=1 + +[app-name="some-app-id" actionable] +#on-button-left=invoke-action mail-reply-sender diff --git a/sway/autostart b/sway/autostart index 9f23e3464..9f1752a60 100644 --- a/sway/autostart +++ b/sway/autostart @@ -38,7 +38,7 @@ exec systemctl --user restart swayidle.service & exec systemctl --user restart wallpapers.service & # Notification daemon -exec mako & +exec mako --config=${HOME}/.dotfiles/mako.conf & # Tray icons # TODO: Orage is dead. Find a new calendaring solution