diff --git a/home/config/polybar/config.ini b/home/config/polybar/config.ini index 03db613..003fe34 100644 --- a/home/config/polybar/config.ini +++ b/home/config/polybar/config.ini @@ -41,18 +41,13 @@ fixed-center = true modules-left = logo workspace pipe-db mpd modules-center = date -modules-right = netspeed pipe volume pipe power +modules-right = netspeed pipe tray pipe volume power -tray-position = right -tray-maxsize = 16 -tray-padding = 5 -tray-detached = false -tray-background = ${color.background} -tray-scale = 1.0 pseudo-transparency = true + enable-ipc = true ; 可点击鼠标状态 @@ -79,4 +74,16 @@ compositing-background = source compositing-foreground = over compositing-overline = over compositing-underline = over -compositing-border = over \ No newline at end of file +compositing-border = over + + +[module/tray] +type = internal/tray + +tray-margin = 6 +tray-position = adaptive +tray-padding = 4 +tray-maxsize = 16 +tray-detached = false +tray-background = ${color.background} +tray-scale = 1.0 \ No newline at end of file