Add untracked scripts, links and files used by scripts
This commit is contained in:
parent
552498c74f
commit
41be8167b6
1
.config/scripts/bin/prefixhelper.sh
Symbolic link
1
.config/scripts/bin/prefixhelper.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../steam/prefixhelper.sh
|
8
.config/scripts/functions/git
Normal file
8
.config/scripts/functions/git
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
gitshow()
|
||||
{
|
||||
hash=$(git log --oneline . | fzf | awk '{print$1}')
|
||||
[ -z "$hash" ] && return
|
||||
git show "$hash"
|
||||
}
|
6
.config/scripts/libvirt/usb-devices/bluetooth.xml
Normal file
6
.config/scripts/libvirt/usb-devices/bluetooth.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<hostdev mode='subsystem' type='usb' managed='no'>
|
||||
<source>
|
||||
<vendor id='0x0e8d'/>
|
||||
<product id='0x0616'/>
|
||||
</source>
|
||||
</hostdev>
|
6
.config/scripts/libvirt/usb-devices/external-hdd.xml
Normal file
6
.config/scripts/libvirt/usb-devices/external-hdd.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<hostdev mode='subsystem' type='usb' managed='no'>
|
||||
<source>
|
||||
<vendor id='0x174c'/>
|
||||
<product id='0x55aa'/>
|
||||
</source>
|
||||
</hostdev>
|
6
.config/scripts/libvirt/usb-devices/hhkb.xml
Normal file
6
.config/scripts/libvirt/usb-devices/hhkb.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<hostdev mode='subsystem' type='usb' managed='no'>
|
||||
<source>
|
||||
<vendor id='0x04fe'/>
|
||||
<product id='0x0020'/>
|
||||
</source>
|
||||
</hostdev>
|
6
.config/scripts/libvirt/usb-devices/intent.xml
Normal file
6
.config/scripts/libvirt/usb-devices/intent.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<hostdev mode='subsystem' type='usb' managed='no'>
|
||||
<source>
|
||||
<vendor id='0x8968'/>
|
||||
<product id='0x4938'/>
|
||||
</source>
|
||||
</hostdev>
|
6
.config/scripts/libvirt/usb-devices/lamzu-atlantis.xml
Normal file
6
.config/scripts/libvirt/usb-devices/lamzu-atlantis.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<hostdev mode='subsystem' type='usb' managed='no'>
|
||||
<source>
|
||||
<vendor id='0x3554'/>
|
||||
<product id='0xf510'/>
|
||||
</source>
|
||||
</hostdev>
|
26
.config/scripts/steam/prefixhelper.sh
Executable file
26
.config/scripts/steam/prefixhelper.sh
Executable file
@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
steamdir="$HOME/.local/share/Steam"
|
||||
steamapps="$steamdir/steamapps"
|
||||
common="$steamapps/common"
|
||||
compatdata="$steamapps/compatdata"
|
||||
|
||||
id="1611740"
|
||||
proton_version="Proton 6.3"
|
||||
|
||||
if [ ! -e "$compatdata/$id/pfx" ]; then
|
||||
echo "Prefix not found."
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ ! -e "$common/$proton_version/proton" ]; then
|
||||
echo "Proton not found."
|
||||
exit
|
||||
fi
|
||||
|
||||
echo "$PWD/$1"
|
||||
|
||||
STEAM_COMPAT_DATA_PATH="$compatdata/$id" \
|
||||
STEAM_COMPAT_CLIENT_INSTALL_PATH="$steamdir" \
|
||||
WINEPREFIX="$compatdata/$id/pfx" \
|
||||
"$common/$proton_version/proton" run "$PWD/$1"
|
BIN
.config/scripts/sway/wayland-run-on-new-display/wayland-run-on-new-display
Executable file
BIN
.config/scripts/sway/wayland-run-on-new-display/wayland-run-on-new-display
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user