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?
ConsoleArchives关于
QueryCategoriesCode Snippets6Linux1前端技术6游戏2金句1青岛公交8TagsArchLinux1Chromium1JavaScript8Linux2Node.js4都市:天际线2金句1

~/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 子系统托盘守护进程
发布于2025-02-21
作者0xarch
许可协议CC BY-NC-SA 4.0
都市天际线跳过启动器
JavaScript 中的 This
0xarch 的博客