Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# this waits for xfce4-panel's notification area process before launching protonmail-bridge so that the system tray icon shows
while :
do
result=$(ps -wef) # so that it doesn't capture grep
echo $result | grep -q "libsystray.so"
if [[ $? == 0 ]]
then