chore: moved hotkey daemon to it's own script and run with a terminal to allow prompting authentication

This commit is contained in:
2024-08-27 21:42:29 +02:00
parent 443b6c5dfe
commit 85a1c3b469
5 changed files with 27 additions and 9 deletions

View File

@ -79,7 +79,7 @@ case $1 in
$HOME/dotfiles/bin/actions/term.sh $@
;;
"hotkey-daemon")
bash -c "swhks & pkexec swhkd -c ~/.config/swhkdrc" &
x-terminal-emulator -e $HOME/dotfiles/bin/actions/hotkey-daemon.sh $@
;;
*)
printfe "%s\n" "red" "Unknown command $1"