set up pulling to htpc from gh

This commit is contained in:
zerf58 2024-03-31 20:12:02 -07:00
parent 38b91fe5eb
commit 62d3a0a507
2 changed files with 24 additions and 17 deletions

7
init.sh Executable file
View file

@ -0,0 +1,7 @@
#!/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
rm /home/htpc/.kodi/userdata/keymaps/keyboard.xml
ln /home/htpc/scripts/PJ/keyboard.xml /home/htpc/.kodi/userdata/keymaps/keyboard.xml

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
'<!--' /home/htpc/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml '-->' <!-- /home/htpc/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml -->
<channel name="xfce4-keyboard-shortcuts" version="1.0"> <channel name="xfce4-keyboard-shortcuts" version="1.0">
<property name="commands" type="empty"> <property name="commands" type="empty">
@ -39,22 +39,22 @@
<property name="override" type="bool" value="true"/> <property name="override" type="bool" value="true"/>
<property name="&lt;Super&gt;t" type="string" value="exo-open --launch TerminalEmulator"/> <property name="&lt;Super&gt;t" type="string" value="exo-open --launch TerminalEmulator"/>
<property name="&lt;Super&gt;r" type="string" value="rofi -modi drun,run -show drun"/> <property name="&lt;Super&gt;r" type="string" value="rofi -modi drun,run -show drun"/>
<property name="Sleep" type="string" value="sh /home/htpc/scripts/remote/buttons.sh sleep"/> <property name="Sleep" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh sleep"/>
<property name="&lt;Super&gt;x" type="string" value="sh /home/htpc/scripts/remote/buttons.sh main"/> <property name="&lt;Super&gt;x" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh main"/>
<property name="&lt;Super&gt;b" type="string" value="sh /home/htpc/scripts/remote/buttons.sh notification"/> <property name="&lt;Super&gt;b" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh notification"/>
<property name="&lt;Super&gt;q" type="string" value="sh /home/htpc/scripts/remote/buttons.sh search"/> <property name="&lt;Super&gt;q" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh search"/>
<property name="&lt;Super&gt;i" type="string" value="sh /home/htpc/scripts/remote/buttons.sh settings"/> <property name="&lt;Super&gt;i" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh settings"/>
<property name="&lt;Super&gt;a" type="string" value="sh /home/htpc/scripts/remote/buttons.sh action_center"/> <property name="&lt;Super&gt;a" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh action_center"/>
<property name="&lt;Super&gt;e" type="string" value="sh /home/htpc/scripts/remote/buttons.sh file_explorer"/> <property name="&lt;Super&gt;e" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh file_explorer"/>
<property name="&lt;Super&gt;d" type="string" value="sh /home/htpc/scripts/remote/buttons.sh desktop"/> <property name="&lt;Super&gt;d" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh desktop"/>
<property name="&lt;Super&gt;Up" type="string" value="sh /home/htpc/scripts/remote/buttons.sh split_up"/> <property name="&lt;Super&gt;Up" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh split_up"/>
<property name="&lt;Super&gt;Down" type="string" value="sh /home/htpc/scripts/remote/buttons.sh split_down"/> <property name="&lt;Super&gt;Down" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh split_down"/>
<property name="&lt;Super&gt;Left" type="string" value="sh /home/htpc/scripts/remote/buttons.sh split_left"/> <property name="&lt;Super&gt;Left" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh split_left"/>
<property name="&lt;Super&gt;Right" type="string" value="sh /home/htpc/scripts/remote/buttons.sh split_right"/> <property name="&lt;Super&gt;Right" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh split_right"/>
<property name="F5" type="string" value="sh /home/htpc/scripts/remote/buttons.sh refresh"/> <property name="F5" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh refresh"/>
<property name="HomePage" type="string" value="sh /home/htpc/scripts/remote/buttons.sh browser"/> <property name="HomePage" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh browser"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;Delete" type="string" value="sh /home/htpc/scripts/remote/buttons.sh task_manager"/> <property name="&lt;Primary&gt;&lt;Alt&gt;Delete" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh task_manager"/>
<property name="&lt;Alt&gt;Up" type="string" value="sh /home/htpc/scripts/remote/buttons.sh move_up"/> <property name="&lt;Alt&gt;Up" type="string" value="sh /home/htpc/scripts/PJ/buttons.sh move_up"/>
</property> </property>
</property> </property>
<property name="xfwm4" type="empty"> <property name="xfwm4" type="empty">