gutu
v0.1.0
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 실행하십시오. 서비스 구성은 아래를 참조하십시오.
모든 서비스 파일은 $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