mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 16:23:57 +01:00
virtualization: Fix cursor in hyprland
This commit fixes the cursor being upside down and inaccurate in Hyprland. Note that show-cursor=off is used to avoid the duplicate cursor issue described in https://github.com/swaywm/sway/issues/6581 Unlike GNOME, Hyprland does not automatically change resolution on window change, so fullscreen is enabled by default to ensure a certain size. In the future, a script could be used to adjust the resolution as needed. Related: https://github.com/hyprwm/Hyprland/issues/1056
This commit is contained in:
parent
91be6afd3f
commit
0bf134297b
@ -6,6 +6,10 @@
|
||||
};
|
||||
|
||||
virtualisation.qemu.options =
|
||||
[ "-device virtio-vga-gl" "-display sdl,gl=on" ];
|
||||
[ "-device virtio-vga-gl" "-display sdl,gl=on,show-cursor=off" "-full-screen" ];
|
||||
|
||||
environment.sessionVariables = {
|
||||
WLR_NO_HARDWARE_CURSORS = "1";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user