[Linux] Add dunst config and service
This commit is contained in:
parent
753bbb94cf
commit
4111fda801
51
dotfiles/config/dunst/dunstrc
Normal file
51
dotfiles/config/dunst/dunstrc
Normal 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
|
12
dotfiles/config/systemd/user/dunst.service
Normal file
12
dotfiles/config/systemd/user/dunst.service
Normal 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
|
Loading…
Reference in New Issue
Block a user