Add autoinstall command

This commit is contained in:
Tobias Reisinger 2024-01-09 16:48:11 +01:00
parent d6985ded7e
commit b5eaaead9b
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
14 changed files with 344 additions and 4 deletions
autostart-manage

View file

@ -3,9 +3,7 @@ help: Manage autostart
version: 0.1.0
dependencies:
yq:
command: [tomlq]
help: please install yq (https://github.com/kislyuk/yq)
tomlq: please install yq (https://github.com/kislyuk/yq)
environment_variables:
- name: HOSTNAME
@ -76,6 +74,7 @@ commands:
- $(autostart-manage list)
filename: systemctl.sh
- name: log
alias: logs
help: Show the log for a single program from autostart
args:
- name: program

View file

@ -18,6 +18,7 @@ _list () {
}
_autostart_run_graphical () {
set +e
pass x # Try to unlock yubikey asap
start-audio pipewire
@ -33,7 +34,7 @@ _autostart_run_graphical () {
fi
fi
autoinstall graphical
autoinstall run graphical
autostart-manage run
}