Initial custom mako config

This commit is contained in:
John Mertz 2023-11-17 13:23:13 -07:00
parent 27b079f1bf
commit 16ee3c1870
2 changed files with 52 additions and 1 deletions

51
mako.conf Normal file
View File

@ -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 <action>, invoke-default-action and exec <command>.
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: <b>%s</b>\n%b
# Default when grouped: (%g) <b>%s</b>\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

View File

@ -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