From 4111fda8016bbdef397b95a5e7935ddc9c1dea15 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 5 Oct 2016 02:26:26 -0700 Subject: [PATCH] [Linux] Add dunst config and service --- dotfiles/config/dunst/dunstrc | 51 ++++++++++++++++++++++ dotfiles/config/systemd/user/dunst.service | 12 +++++ 2 files changed, 63 insertions(+) create mode 100644 dotfiles/config/dunst/dunstrc create mode 100644 dotfiles/config/systemd/user/dunst.service diff --git a/dotfiles/config/dunst/dunstrc b/dotfiles/config/dunst/dunstrc new file mode 100644 index 00000000..9f776cb1 --- /dev/null +++ b/dotfiles/config/dunst/dunstrc @@ -0,0 +1,51 @@ +[global] + font = "Droid Sans 8" + allow_markup = yes + format = "%s\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 diff --git a/dotfiles/config/systemd/user/dunst.service b/dotfiles/config/systemd/user/dunst.service new file mode 100644 index 00000000..18620aef --- /dev/null +++ b/dotfiles/config/systemd/user/dunst.service @@ -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