增加系统通知配置;polybar调为半透明

master
yutent 2023-07-12 05:53:20 +00:00 committed by GitHub
parent 75edcf1460
commit 2bf32d059d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 67 additions and 3 deletions

64
home/config/dunst/dunstrc Normal file
View File

@ -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 = "<b>%a</b>\n<span>%s</span>\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

View File

@ -1,9 +1,9 @@
[color]
background = #475569
background = #47556980
foreground = #d8dee9
altbackground = #55657d
altbackground2 = #3d495b
altbackground = #55657d80
altbackground2 = #3d495b80
altforeground = #768bb2
accent = #81a1c1