Burathar
5 years ago
1 changed files with 10 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||||||
|
#! /bin/bash |
||||||
|
|
||||||
|
script_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" |
||||||
|
user_home=/home/${SUDO_USER:-${USER}} |
||||||
|
python_user_site=`python3 -m site --user-site` |
||||||
|
|
||||||
|
ln -s "$script_root/openrazer_command" "$python_user_site" |
||||||
|
mkdir -p "$user_home/.config/openrazer_scripter" |
||||||
|
ln -s "$script_root/keymaps/*" "$user_home/.config/openrazer_scripter" |
||||||
|
|
Loading…
Reference in new issue