diff --git a/keyswap_service.sh b/keyswap_service.sh index 2d06c9b..efd2baf 100755 --- a/keyswap_service.sh +++ b/keyswap_service.sh @@ -4,7 +4,7 @@ systemctl --user stop keyswap >/dev/null 2>&1 systemctl --user disable keyswap >/dev/null 2>&1 systemctl --user stop keyswap.timer >/dev/null 2>&1 systemctl --user disable keyswap.timer >/dev/null 2>&1 -swapcmd="\/bin\/bash\ \/home\/`whoami`\/.config\/kinto\/xactive.sh" +swapcmd="\/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 diff --git a/system-config/keyswap.service b/system-config/keyswap.service index 4654532..fa488f3 100755 --- a/system-config/keyswap.service +++ b/system-config/keyswap.service @@ -4,9 +4,6 @@ PartOf=graphical-session.target [Service] Type=simple -#User={username} -#Group={username} -Environment=DISPLAY=:0 Restart=always RestartSec=1 WorkingDirectory=/home/{username}/.config/kinto