From 8130bb283fe698855e1312a394b86283f0bbee9d Mon Sep 17 00:00:00 2001 From: Ben Reaves Date: Sun, 2 Feb 2020 21:59:15 -0600 Subject: [PATCH] - Updated keyswap service script to continue to use shell script to run kintox11 --- keyswap_service.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/keyswap_service.sh b/keyswap_service.sh index b187909..c389788 100755 --- a/keyswap_service.sh +++ b/keyswap_service.sh @@ -1,11 +1,12 @@ #!/bin/bash -swapcmd="\/bin\/bash\ \/home\/`whoami`\/.config\/kinto\/kintox11" +swapcmd="\/bin\/bash\ \/home\/`whoami`\/.config\/kinto\/xactive.sh" mkdir -p ~/.config/systemd/user mkdir -p ~/.config/autostart cp ./system-config/keyswap.service ~/.config/systemd/user/keyswap.service cp ./system-config/keyswap.sh ~/.config/autostart/keyswap.sh cp ./kintox11/binary/kintox11 ~/.config/kinto/kintox11 +cp ./system-config/xactive.sh ~/.config/kinto/xactive.sh sed -i "s/{username}/`whoami`/g" ~/.config/systemd/user/keyswap.service sed -i "s/ExecStart=/ExecStart=${swapcmd}/g" ~/.config/systemd/user/keyswap.service systemctl --user enable keyswap