updates
This commit is contained in:
parent
47d0c6d5f1
commit
b1753d3de3
12 changed files with 6 additions and 46 deletions
|
|
@ -316,6 +316,8 @@ windowrulev2 = pin, title:(Picture-in-Picture)
|
||||||
|
|
||||||
windowrule = float,^(jome)$
|
windowrule = float,^(jome)$
|
||||||
|
|
||||||
|
windowrulev2 = float,class:^(org.remmina.Remmina)$
|
||||||
|
windowrule = fullscreen,^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
|
||||||
# Fix Bitwarden Window
|
# Fix Bitwarden Window
|
||||||
windowrulev2 = suppressevent maximize, class:^(firefox)$
|
windowrulev2 = suppressevent maximize, class:^(firefox)$
|
||||||
exec-once = ./hyprland-bitwarden-resize.sh
|
exec-once = ./hyprland-bitwarden-resize.sh
|
||||||
|
|
|
||||||
|
|
@ -12,3 +12,7 @@ profile laptop {
|
||||||
output eDP-1 position 0,0 enable scale 2
|
output eDP-1 position 0,0 enable scale 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
profile laptop-usbc {
|
||||||
|
output DP-1 position 0,0 enable
|
||||||
|
output eDP-1 disable
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
#set -x
|
|
||||||
|
|
||||||
echo "Loaded Graphics Cards Kernel Drivers:"
|
|
||||||
nvidia_output=$(lspci -nnk | grep -A 3 -P '^(\d{4}:)?\d{2}:\d{2}\.\d\s+VGA compatible controller.*NVIDIA')
|
|
||||||
|
|
||||||
if [ ! -z "$nvidia_output" ]; then
|
|
||||||
echo "-------------------------------------"
|
|
||||||
echo "NVIDIA Graphics:"
|
|
||||||
echo "$nvidia_output" | grep "Kernel driver in use"
|
|
||||||
echo
|
|
||||||
fi
|
|
||||||
|
|
||||||
intel_output=$(lspci -nnk | grep -A 3 -P '^(\d{4}:)?\d{2}:\d{2}\.\d\s+VGA compatible controller.*Intel')
|
|
||||||
if [ ! -z "$intel_output"]; then
|
|
||||||
echo "-------------------------------------"
|
|
||||||
echo "Intel Graphics:"
|
|
||||||
echo "$intel_output" | grep "Kernel driver in use"
|
|
||||||
echo
|
|
||||||
fi
|
|
||||||
|
|
||||||
amd_output=$(lspci -nnk | grep -A 3 -P '^(\d{4}:)?\d{2}:\d{2}\.\d\s+VGA compatible controller.*AMD')
|
|
||||||
if [ ! -z "$amd_output"]; then
|
|
||||||
echo "-------------------------------------"
|
|
||||||
echo "AMD Graphics:"
|
|
||||||
echo "$amd_output" | grep "Kernel driver in use"
|
|
||||||
echo
|
|
||||||
fi
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
sudo virsh nodedev-reattach pci_0000_01_00_0
|
|
||||||
echo "GPU reattached (now host ready)"
|
|
||||||
sudo rmmod vfio_pci vfio_pci_core vfio_iommu_type1
|
|
||||||
echo "VFIO drivers removed"
|
|
||||||
sudo modprobe -i nvidia_modeset nvidia_uvm nvidia
|
|
||||||
echo "NVIDIA drivers added"
|
|
||||||
echo "COMPLETED!"
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
sudo rmmod nvidia_modeset nvidia_uvm nvidia
|
|
||||||
echo "NVIDIA drivers removed"
|
|
||||||
sudo modprobe -i vfio_pci vfio_pci_core vfio_iommu_type1
|
|
||||||
echo "VFIO drivers added"
|
|
||||||
sudo virsh nodedev-detach pci_0000_01_00_0
|
|
||||||
echo "GPU detached (now vfio ready)"
|
|
||||||
echo "COMPLETED!"
|
|
||||||
Binary file not shown.
Loading…
Add table
Reference in a new issue