0xarch

I could be myself out there. Bullying, reckless, totally selfish. Doing the things that makes me me. If you ain't who you are, then who the fuck are you?

~/linux-subsystem-daemon:

#!/bin/bash

while true; do
        if xdotool search --name stalonetray; then
                sleep 5
        else
                status=`notify-send -e -i "linux" -a "LSD" "Linux Subsystem Daemon" -A "Tray"`
                if [ "$status" == "0" ]; then
                        echo "Spawn stalonetray"
                        stalonetray
                        echo "Stalonetray terminated"
                fi
        fi
        sleep 1
done

~/.sommelierrc:

+++
bash $HOME/linux-subsystem-daemon &
+++
ChromeOS Linux 子系统托盘守护进程
作者0xarch
发布于2025-02-21
许可协议CC BY-NC-SA 4.0