Add system tray

This commit is contained in:
Ethan Lane 2024-08-17 17:55:07 +01:00
parent 905c905f1b
commit ebeb7b3698
2 changed files with 10 additions and 4 deletions

View file

@ -216,8 +216,8 @@ bindsym $mod+r mode "resize"
# finds out, if available) # finds out, if available)
# Gaps # Gaps
# gaps inner 5 gaps inner 5
# gaps outer 5 gaps outer -5
gaps horizontal 5 gaps horizontal 5
gaps vertical 5 gaps vertical 5
gaps top 5 gaps top 5

View file

@ -54,14 +54,14 @@ font-1 = Font Awesome 6 Free:style=Regular;2
font-2 = Font Awesome 6 Free:style=Solid;2 font-2 = Font Awesome 6 Free:style=Solid;2
modules-left = xworkspaces xwindow modules-left = xworkspaces xwindow
modules-right = filesystem pulseaudio-control-output xkeyboard memory cpu battery date modules-right = filesystem pulseaudio-control-output xkeyboard memory cpu battery date tray
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
enable-ipc = true enable-ipc = true
tray-position = right ; tray-position = right
; wm-restack = generic ; wm-restack = generic
; wm-restack = bspwm ; wm-restack = bspwm
@ -194,6 +194,12 @@ date-alt = %Y-%m-%d %H:%M:%S
label = %date% label = %date%
label-foreground = ${colors.primary} label-foreground = ${colors.primary}
[module/tray]
type internal/tray
format-margin = 8px
tray-spacing = 8px
[settings] [settings]
screenchange-reload = true screenchange-reload = true
pseudo-transparency = true pseudo-transparency = true