[Linux] Add dunst config and service

This commit is contained in:
Ivan Malison 2016-10-05 02:26:26 -07:00
parent 753bbb94cf
commit 4111fda801
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
2 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,51 @@
[global]
font = "Droid Sans 8"
allow_markup = yes
format = "<b>%s</b>\n%b"
sort = yes
indicate_hidden = yes
alignment = center
bounce_freq = 0
show_age_threshold = 60
word_wrap = yes
ignore_newline = no
geometry = "200x5-6+30"
transparency = 30
idle_threshold = 120
monitor = 0
follow = mouse
sticky_history = yes
line_height = 0
separator_height = 2
padding = 8
horizontal_padding = 8
separator_color = "#585858"
startup_notification = false
# https://github.com/knopwob/dunst/issues/26#issuecomment-36159395
#icon_position = left
#icon_folders = /usr/share/icons/elementary/actions/16/
[frame]
width = 1
color = "#383838"
[shortcuts]
close = ctrl+space
close_all = ctrl+shift+space
history = ctrl+grave
context = ctrl+shift+period
[urgency_low]
background = "#181818"
foreground = "#E3C7AF"
timeout = 5
[urgency_normal]
background = "#181818"
foreground = "#E3C7AF"
timeout = 20
[urgency_critical]
background = "#181818"
foreground = "#E3C7AF"
timeout = 0

View File

@ -0,0 +1,12 @@
[Unit]
Description=Dunst
Requires=taffybar.service
After=taffybar.service
[Service]
Type=simple
ExecStart=/usr/bin/dunst
ExecStop=/usr/bin/pkill dunst
[Install]
WantedBy=wm.target