swayfx icon indicating copy to clipboard operation
swayfx copied to clipboard

Use nixGL to fix nix swayfx on non-NixOS distributions

Open WillPower3309 opened this issue 1 year ago • 1 comments

We need to essentially implement https://pmiddend.github.io/posts/nixgl-on-ubuntu/

WillPower3309 avatar Oct 30 '24 21:10 WillPower3309

We can use the same shell script approach but use the following command to get the processor, then do a string comparison to choose which nixGL binary to use:

❯ cat /proc/cpuinfo | grep vendor_id | head -1 | awk '{print $NF}'
AuthenticAMD

WillPower3309 avatar Feb 23 '25 07:02 WillPower3309