diff --git a/.config/scripts/bin/prefixhelper.sh b/.config/scripts/bin/prefixhelper.sh new file mode 120000 index 0000000..88dcb16 --- /dev/null +++ b/.config/scripts/bin/prefixhelper.sh @@ -0,0 +1 @@ +../steam/prefixhelper.sh \ No newline at end of file diff --git a/.config/scripts/functions/git b/.config/scripts/functions/git new file mode 100644 index 0000000..d3f2baf --- /dev/null +++ b/.config/scripts/functions/git @@ -0,0 +1,8 @@ +#!/bin/bash + +gitshow() +{ + hash=$(git log --oneline . | fzf | awk '{print$1}') + [ -z "$hash" ] && return + git show "$hash" +} diff --git a/.config/scripts/libvirt/usb-devices/bluetooth.xml b/.config/scripts/libvirt/usb-devices/bluetooth.xml new file mode 100644 index 0000000..0bac860 --- /dev/null +++ b/.config/scripts/libvirt/usb-devices/bluetooth.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/.config/scripts/libvirt/usb-devices/external-hdd.xml b/.config/scripts/libvirt/usb-devices/external-hdd.xml new file mode 100644 index 0000000..bef204f --- /dev/null +++ b/.config/scripts/libvirt/usb-devices/external-hdd.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/.config/scripts/libvirt/usb-devices/hhkb.xml b/.config/scripts/libvirt/usb-devices/hhkb.xml new file mode 100644 index 0000000..a23fa59 --- /dev/null +++ b/.config/scripts/libvirt/usb-devices/hhkb.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/.config/scripts/libvirt/usb-devices/intent.xml b/.config/scripts/libvirt/usb-devices/intent.xml new file mode 100644 index 0000000..8ec7192 --- /dev/null +++ b/.config/scripts/libvirt/usb-devices/intent.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/.config/scripts/libvirt/usb-devices/lamzu-atlantis.xml b/.config/scripts/libvirt/usb-devices/lamzu-atlantis.xml new file mode 100644 index 0000000..669f235 --- /dev/null +++ b/.config/scripts/libvirt/usb-devices/lamzu-atlantis.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/.config/scripts/steam/prefixhelper.sh b/.config/scripts/steam/prefixhelper.sh new file mode 100755 index 0000000..a933bed --- /dev/null +++ b/.config/scripts/steam/prefixhelper.sh @@ -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" diff --git a/.config/scripts/sway/wayland-run-on-new-display/wayland-run-on-new-display b/.config/scripts/sway/wayland-run-on-new-display/wayland-run-on-new-display new file mode 100755 index 0000000..7a1e592 Binary files /dev/null and b/.config/scripts/sway/wayland-run-on-new-display/wayland-run-on-new-display differ