polybar-themes icon indicating copy to clipboard operation
polybar-themes copied to clipboard

Tray icons not appearing

Open Tesseeaye opened this issue 3 years ago • 2 comments

Hello, I tried looking in the previous issues for solutions but couldn't find one. I'm using the forest theme and I'm attempting to get tray icons to work. Here is how my config looks for the tray section:

; Position of the system tray window
; If empty or undefined, tray support will be disabled
; NOTE: A center aligned tray will cover center aligned modules
;
; Available positions:
;   left
;   center
;   right
;   none
tray-position = right

; If true, the bar will not shift its
; contents when the tray changes
tray-detached = false

; Tray icon max size
tray-maxsize = 16

; Background color for the tray container
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
; By default the tray container will use the bar
; background color.
tray-background = ${color.background}

; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
tray-offset-x = 0
tray-offset-y = 0

; Pad the sides of each tray icon
tray-padding = 0

; Scale factor for tray clients
tray-scale = 1.0

Here is what my modules loaded section looks like, not sure if this is important or if I need to include a tray module in it:

; Modules are added to one of the available blocks
;   modules-left = cpu ram
;   modules-center = xwindow xbacklight
;   modules-right = ipc clock

modules-left = launcher sep workspaces sep cpu memory filesystem
modules-center = sep date
modules-right = network sep volume sep sysmenu

If anymore information is needed please let me know.

Tesseeaye avatar May 24 '21 18:05 Tesseeaye

I also have this problem

pCandKa avatar Aug 25 '21 14:08 pCandKa

Hey check if your problem is this changing my offset-y to 0 solved it

sohzm avatar Nov 09 '21 14:11 sohzm