Skip to content

Instantly share code, notes, and snippets.

View JakWai01's full-sized avatar
🌳

Jakob Waibel JakWai01

🌳
View GitHub Profile
@JakWai01
JakWai01 / README.md
Created February 24, 2022 14:06 — forked from pojntfx/README.md
Enable prefers-color-scheme support and hardware acceleration for Chrome on Linux

Paste the following into your terminal; this will enable prefers-color-scheme support for Chrome on Linux. You'll have to fully close the browser with pkill chrome each time you want Chrome to re-read the settings, i.e. when you want it to toggle from light to dark or the other way around.

Also, use the following flags for full GPU acceleration:

  • ignore-gpu-blocklist
  • enable-webrtc-pipewire-capturer
  • enable-gpu-rasterization
  • enable-vulkan
  • enable-zero-copy
@JakWai01
JakWai01 / main.sh
Created November 10, 2021 15:08 — forked from pojntfx/main.sh
Parrot VM with QEMU
#!/bin/bash
qemu-system-x86_64 -enable-kvm -m 4096 -smp $(nproc) -cpu host -device ac97 -audiodev alsa,id=snd0,out.buffer-length=500000,out.period-length=726 -usb -device usb-tablet -device virtio-keyboard-pci -net nic -net user -cdrom distro.iso -device virtio-vga-gl -display gtk,gl=on,grab-on-hover=on -hda disk.qcow2 -bios /usr/share/edk2/ovmf/OVMF_CODE.fd