mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-01 16:56:38 +02:00
16 lines
479 B
Bash
Executable File
16 lines
479 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if systemctl -q --user is-enabled keyswap.timer; then
|
|
systemctl --user stop keyswap.timer
|
|
systemctl --user disable keyswap.timer
|
|
fi
|
|
if systemctl -q --user is-active keyswap; then
|
|
systemctl --user stop keyswap
|
|
fi
|
|
if systemctl -q --user is-enabled keyswap; then
|
|
systemctl --user disable keyswap
|
|
fi
|
|
|
|
# export DISPLAY={displayid};/usr/bin/xhost +SI:localuser:root
|
|
mkdir -p /tmp/kinto/xkeysnail
|
|
cp /home/{username}/.config/kinto/kinto.py /tmp/kinto/xkeysnail/kinto.py |