From 49f5c189c24ff9f5652132bb1dcba4728390e190 Mon Sep 17 00:00:00 2001 From: lemon-sh Date: Thu, 21 Oct 2021 18:06:05 +0200 Subject: [PATCH] Update Dunst config --- .dwm/autostart | 2 +- .dwm/bar.sh | 2 +- dunst/dunstrc | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 dunst/dunstrc diff --git a/.dwm/autostart b/.dwm/autostart index 27e5bf7..879a82c 100755 --- a/.dwm/autostart +++ b/.dwm/autostart @@ -2,7 +2,7 @@ feh --bg-fill ~/wallpaper.png & ~/.dwm/bar.sh & setxkbmap pl & -dunst -fn "Cozette 9" -corner_radius 2 -frame_width 1 -padding 10 -horizontal_padding 10 -geometry "0x3+50-50" & +dunst & flameshot & volctl & urxvtd -q & diff --git a/.dwm/bar.sh b/.dwm/bar.sh index fad538e..7091f53 100755 --- a/.dwm/bar.sh +++ b/.dwm/bar.sh @@ -22,5 +22,5 @@ echo -n "^c#42f59e^^c#abb2bf^ $(playerctl metadata | awk '{if ($2 == "xesam:t while true; do xsetroot -name "^c#cdff59^ $(spotify) $(root) $(cpu) $(mem) $(clock)" -sleep 10 +sleep 5 done diff --git a/dunst/dunstrc b/dunst/dunstrc new file mode 100644 index 0000000..c7ac6ce --- /dev/null +++ b/dunst/dunstrc @@ -0,0 +1,48 @@ +[global] +monitor = 0 +follow = mouse +geometry = "300x60-20+48" +indicate_hidden = yes +shrink = no +separator_height = 0 +padding = 16 +horizontal_padding = 20 +frame_width = 2 +sort = no +idle_threshold = 120 +font = Cozette 8 +line_height = 4 +markup = full +format = %s\n%b +alignment = left +show_age_threshold = 60 +word_wrap = yes +ignore_newline = no +stack_duplicates = false +hide_duplicate_count = yes +show_indicators = no +icon_position = off +sticky_history = yes +history_length = 20 +browser = /usr/bin/firefox -new-tab +always_run_script = true +title = Dunst +class = Dunst + +[urgency_low] +timeout = 4 +background = "#141c21" +foreground = "#93a1a1" +frame_color = "#8bc34a" + +[urgency_normal] +timeout = 8 +background = "#141c21" +foreground = "#93a1a1" +frame_color = "#ba68c8" + +[urgency_critical] +timeout = 0 +background = "#141c21" +foreground = "#93a1a1" +frame_color = "#ff7043"