- xkeysnail modifier key persistance regression temp fix.

This commit is contained in:
Ben Reaves
2020-05-14 20:50:57 -05:00
parent 318efcc3fd
commit 6298c6c9cc

View File

@@ -253,13 +253,15 @@ if [[ $1 == "1" || $1 == "2" || $1 == "3" || $1 == "winmac" || $1 == "mac" || $1
sudo ln -s "$xkeypath"xkeysnail.service /etc/systemd/system/xkeysnail.service && echo "Created soft symlink..." || echo "Failed to create soft symlink..." sudo ln -s "$xkeypath"xkeysnail.service /etc/systemd/system/xkeysnail.service && echo "Created soft symlink..." || echo "Failed to create soft symlink..."
sudo ln -s "$xkeypath"xkeysnail.service /etc/systemd/system/graphical.target.wants/xkeysnail.service && echo "Created soft symlink for graphical target..." || echo "Failed to create soft symlink for graphical target..." sudo ln -s "$xkeypath"xkeysnail.service /etc/systemd/system/graphical.target.wants/xkeysnail.service && echo "Created soft symlink for graphical target..." || echo "Failed to create soft symlink for graphical target..."
xhost +SI:localuser:root xhost +SI:localuser:root
git clone --depth 1 https://github.com/rbreaves/xkeysnail.git git clone --depth 5 https://github.com/rbreaves/xkeysnail.git
git checkout 51c369084e0045a8410d227bab52411bf84fb65b
cd xkeysnail cd xkeysnail
giturl=$(git ls-remote --get-url) giturl=$(git ls-remote --get-url)
if [ "$geturl" != "https://github.com/rbreaves/xkeysnail.git" ];then if [ "$geturl" != "https://github.com/rbreaves/xkeysnail.git" ];then
cd .. cd ..
rm -rf ./xkeysnail rm -rf ./xkeysnail
git clone --depth 1 https://github.com/rbreaves/xkeysnail.git git clone --depth 5 https://github.com/rbreaves/xkeysnail.git
git checkout 51c369084e0045a8410d227bab52411bf84fb65b
cd xkeysnail cd xkeysnail
fi fi
git pull origin master git pull origin master