diff --git a/home/config/dunst/dunstrc b/home/config/dunst/dunstrc new file mode 100644 index 0000000..5f5d592 --- /dev/null +++ b/home/config/dunst/dunstrc @@ -0,0 +1,64 @@ +## 通知管理配置 + +# -------------------------------------------------- +# dunstify 常规用法 +# 显示应用名、summary, body +# dunstify -a AppName "notice summary" "notice body" +# 显示应用名、summary, body, 进度条(0~100, curr 88) +# dunstify -a AppName -h int:value:88 "notice summary" "notice body" +# 显示自定义图标 +# dunstify -i google-chrome -a Chrome title body +# -------------------------------------------------- + +[global] + # 通知跟随有键盘焦点的显示器 + follow = keyboard + + width = (300, 500) + # 默认就是8了 + # padding = 8 + corner_radius = 3 + transparency = 25 + # 多个通知之间的间隔 + gap_size = 4 + + # 边框样式 + frame_width = 1 + frame_color = "#86909b" + + # 进度条 + progress_bar_height = 5 + progress_bar_horizontal_alignment = left + progress_bar_min_width = 300 + progress_bar_max_width = 500 + progress_bar_frame_width = 0 + + font = Monospace 12 + + format = "%a\n%s\n%b" + + max_icon_size = 48 + icon_theme = "Reversal-green-dark" + enable_recursive_icon_lookup = true + + mouse_left_click = do_action + mouse_right_click = close_current + + + +[urgency_low] + background="#f2f5fc" + foreground="#57606f" + timeout = 5 + + +[urgency_normal] + background="#f2f5fc" + foreground="#57606f" + timeout = 8 + + +[urgency_critical] + background="#f2f5fc" + foreground="#f33e22" + timeout = 0 diff --git a/home/config/polybar/colors.ini b/home/config/polybar/colors.ini index 83e8264..3e8f39c 100644 --- a/home/config/polybar/colors.ini +++ b/home/config/polybar/colors.ini @@ -1,9 +1,9 @@ [color] -background = #475569 +background = #47556980 foreground = #d8dee9 -altbackground = #55657d -altbackground2 = #3d495b +altbackground = #55657d80 +altbackground2 = #3d495b80 altforeground = #768bb2 accent = #81a1c1