## 通知管理配置 # -------------------------------------------------- # 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