gutu
v0.1.0
gutuデスクトップスタートアップアプリケーションを管理します。特にスタンドアロンのウィンドウマネージャーでは、実行する必要があるプロセスを処理する方法を均一に使用できます(通知デーモン、キーバインドハンドラーなど)
GutuはAURで入手できます。
github.com/alexcoder04/gutu/releases/latestからバイナリをダウンロードし、 $PATHのディレクトリにコピーします。
git clone " https://github.com/alexcoder04/gutu.git "
cd gutu
go build . # build the binary
go install . # install the executable to your $GOPATH ウィンドウマネージャー /デスクトップ環境のスタートアップでオートスタートGUTU: gutuを実行します。サービスの構成については、以下を参照してください。
すべてのサービスファイルは$XDG_CONFIG_HOME/gutuで別のファイルに入ります。これらのファイルには.service 、 .yml 、および.yaml拡張機能があります。
# your name for the service
Name : compositor
Command : picom
Args : ["--experimental-backends"]
# restart if fails, at most 3 times
KeepAlive : true
RetryNumber : 3
# start only on Xorg
When : x11
# kill picom instances that are still running
KillOld : trueその他の例については、 contrib参照してください。
Name # Name of service
Command # Command to run
Args # Arguments for the command (["-c", "arg1", "arg2"])
Interval # Re-run command periodically in this interval (in seconds, 0=never)
KeepAlive # Restart the command if it exits (true/false)
RetryNumber # How often try to restart the command (if KeepAlive=true)
When # "wayland" / "x11" / "always" / "never"
Delay # Number of seconds to wait before starting
KillOld # Kill running "Command" processes