feat: Add startup script to run commands on system startup

This commit is contained in:
2024-08-27 21:19:26 +02:00
parent 63a1948551
commit f46a7fdabf
4 changed files with 90 additions and 9 deletions

View File

@ -72,10 +72,14 @@ case $1 in
"secrets")
secrets $@
;;
term)
"startup")
# Run $HOME/dotfiles/bin/actions/startup.sh $@ in a new terminal window (Use the default terminal emulator x-terminal-emulator) (Ensure the terminal closes after the script is done)
x-terminal-emulator -e $HOME/dotfiles/bin/actions/startup.sh $@
;;
"term")
$HOME/dotfiles/bin/actions/term.sh $@
;;
hotkey-daemon)
"hotkey-daemon")
bash -c "swhks & pkexec swhkd -c ~/.config/swhkdrc" &
;;
*)