Fix .profile

cd7ece64fda6c551cc33496ff07947b535b60eb9
Alexis Sellier committed ago 1 parent 801a71b0
.profile +5 -2
1 1
#!/bin/sh
2 2
3 3
if command -v keychain >/dev/null; then
4 -
	eval $(keychain --eval --agents ssh -Q --quiet ~/.ssh/id_rsa)
4 +
  eval $(keychain --eval --agents ssh -Q --quiet ~/.ssh/id_rsa)
5 5
fi
6 6
7 7
export PATH=~/bin:~/.local/bin:~/.cabal/bin:~/.cargo/bin:~/.gem/ruby/2.6.0/bin:~/.npm-packages/bin:$PATH
8 8
export EDITOR=nvim
9 9
export VISUAL=nvim
10 10
export MOZ_USE_XINPUT2=1 # Pixel scrolling in Firefox
11 11
12 +
systemctl --user start share-sync
13 +
12 14
if command -v xinput >/dev/null; then
13 -
	xinput --set-prop "15" "libinput Disable While Typing Enabled" 0
15 +
  prop="$(xinput | rg Touchpad | rg -o 'id=[0-9]+' | sed 's/id=//')"
16 +
  xinput --set-prop "$prop" "libinput Disable While Typing Enabled" 0
14 17
fi