refactor
This commit is contained in:
parent
a31e08bd5f
commit
388924ed6e
16 changed files with 951 additions and 294 deletions
6
init.sh
6
init.sh
|
@ -1,13 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
rm /home/htpc/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
|
||||
ln /home/htpc/scripts/PJ/xfce4-keyboard-shortcuts.xml /home/htpc/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
|
||||
ln /home/htpc/scripts/PJ/xml/xfce4-keyboard-shortcuts.xml /home/htpc/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
|
||||
|
||||
rm /home/htpc/.kodi/userdata/keymaps/keyboard.xml
|
||||
ln /home/htpc/scripts/PJ/keyboard.xml /home/htpc/.kodi/userdata/keymaps/keyboard.xml
|
||||
ln /home/htpc/scripts/PJ/xml/keyboard.xml /home/htpc/.kodi/userdata/keymaps/keyboard.xml
|
||||
|
||||
rm /home/htpc/.kodi/userdata/advancedsettings.xml
|
||||
export $(grep -v '^#' /home/htpc/scripts/PJ/secrets.env | xargs)
|
||||
export $(grep -v '^#' /home/htpc/scripts/PJ/xml/secrets.env | xargs)
|
||||
envsubst < /home/htpc/scripts/PJ/advancedsettings.xml > /home/htpc/.kodi/userdata/advancedsettings.xml
|
||||
|
||||
# disable the power button on PJ, ignore if already commented
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue