Skip to content

Commit

Permalink
update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
wizzdom committed Sep 15, 2023
1 parent 372adff commit 008106e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 3 additions & 1 deletion hypr-scrnshot.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

grim -o $(hyprctl -j monitors | jq -r ".[] | select(.focused) | .name") - | imv -f - & grim -g "$(slurp)" - | wl-copy && hyprctl dispatch killactive x
grim -o $(hyprctl -j monitors | jq -r ".[] | select(.focused) | .name") - | imv -f - & grim -g "$(slurp)" - | wl-copy

# && hyprctl dispatch killactive x
7 changes: 7 additions & 0 deletions iommu-check.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
shopt -s nullglob
for d in /sys/kernel/iommu_groups/*/devices/*; do
n=${d#*/iommu_groups/*}; n=${n%%/*}
printf 'IOMMU Group %s ' "$n"
lspci -nns "${d##*/}"
done;
2 changes: 1 addition & 1 deletion windows-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ echo "Starting virtual machine:" $VMNAME "..."
sudo virsh start $VMNAME
echo "Started."

echo "Starting Ccream audio device with IVSHMEM interface..."
echo "Starting Scream audio device with IVSHMEM interface..."
scream -m /dev/shm/scream-ivshmem -t 10 &
echo "done."

Expand Down

0 comments on commit 008106e

Please sign in to comment.