gutu gerencia seus aplicativos de inicialização de desktop. Especialmente em gerentes de janelas independentes, ele pode ser usado para uniformizar a maneira como você lida com os processos que você precisa executar (por exemplo, daemon de notificação, manipulador de keybind etc)
Gutu está disponível na AUR.
Faça o download do binário de github.com/alexcoder04/gutu/releases/latest e copie -o para um diretório no seu $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 de partida automática no seu gerenciador de janelas / área de trabalho da área de trabalho: Execute gutu . Para configurar os serviços, veja abaixo.
Cada arquivo de serviço entra em um arquivo separado em $XDG_CONFIG_HOME/gutu . Esses arquivos podem ter extensões .service , .yml e .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 Para mais exemplos, consulte 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