# Tint2 Panel System Tray

**URL:** https://forum.maboxlinux.org/t/tint2-panel-system-tray/1562
**Category:** Openbox and friends
**Created:** [December 11, 2023, 2:14pm UTC](https://forum.maboxlinux.org/t/tint2-panel-system-tray/1562 "2023-12-11T14:14:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![agaskew](https://forum.maboxlinux.org/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@agaskew](https://forum.maboxlinux.org/u/agaskew)
#### Post date: [December 11, 2023, 2:14pm UTC](https://forum.maboxlinux.org/t/tint2-panel-system-tray/1562/1 "2023-12-11T14:14:06Z")

</div>

Hi, I’ve just about tweaked my Tint2 Panel to use 1 colour for all its static buttons and executors. However, the System tray icon for the NetWorkManager applet is stuck at a grey colour.  
Can this icon be changed?

---

<div class="post-metadata">

### Author: ![muzqs](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/muzqs/32/3702_2.png) [@muzqs](https://forum.maboxlinux.org/u/muzqs)
#### Post date: [December 12, 2023, 11:37am UTC](https://forum.maboxlinux.org/t/tint2-panel-system-tray/1562/2 "2023-12-12T11:37:16Z")

</div>

Hi @agaskew ,

Maybe the grey is solved after a reboot/logout/in or the gtk refresh button. _(below look and feel)_

The colors of the systray are set by the gtk icon theme.  
They have no link with the tint2 colors.

#### inspiration

I created a script to change all txt colors at once for `tint2-sessionfile`, using colormenu.

- Pick a color with colormenu and past inside terminator.
- Enter _(tint2 restart)_ and the colors are changed.

### tint2-coloring.sh

~/bin/tint2-coloring.sh

```auto
#!/bin/bash

exec 2>/dev/null

# script to change font color of tint2rc
clear

tint2rc=$(cat $HOME/.config/tint2/tint2-sessionfile)

get_color=$(grep -o "execp_font_color.*" $tint2rc)
current="$(echo "$get_color" | grep -o "#[a-fA-F0-9]*" > /tmp/tnt2-clr)"
current_color=$(head -n 1 /tmp/tnt2-clr | sed 's/#//')

echo "CURRENT COLOR : $current_color"

notify-send -i "color" "CURRENT COLOR : $current_color" --expire-time=120000

echo "PASTE NEW COLOR FROM COLORMENU " 
colormenu &
read -r new_color

new_color=$(echo "${new_color}" | sed 's/#//')

# Check if the new color is valid
if [[-z "$new_color"]]; then
  echo "Please enter a color."
  exit 1
else
    sed -i "s/$current_color/$new_color/" $tint2rc
    notify-send -i "color" "NEW COLOR : $new_color" --expire-time=120000
fi

# Restart tint2
(sleep 1; killall -SIGUSR1 tint2) 

```

edit:

With this command terminator opens on position next to colormenu. (option)

```auto
terminator --geometry=510x200+250+250 -e tint2-coloring.sh

```

_ps:the script does more than needed. it helps me following the process._  
🐦

---

<div class="post-metadata">

### Author: ![agaskew](https://forum.maboxlinux.org/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@agaskew](https://forum.maboxlinux.org/u/agaskew)
#### Post date: [December 12, 2023, 1:04pm UTC](https://forum.maboxlinux.org/t/tint2-panel-system-tray/1562/3 "2023-12-12T13:04:22Z")

</div>

Thanks @muzqs I did not realise all the fonts have the same parameter name of ‘execp\_font\_color’.
