fix(i3-config): disable picom in virtual machines to prevent rendering artifacts

picom's GPU compositing causes GTK window repaint issues in virtual environments (vmwgfx/llvmpipe), resulting in black content and visual artifacts. Use systemd-detect-virt to skip picom execution on VMs while keeping it enabled on real hardware.

The rounded corners feature is sacrificed in VM environments to maintain stable window rendering.
This commit is contained in:
2026-07-04 14:10:27 +02:00
parent 7268e7e23d
commit d65f08cfad
@@ -148,7 +148,10 @@ exec_always --no-startup-id sh -c 'pkill -x polybar; sleep 0.3; exec polybar -q
## AUTOSTART ## ## AUTOSTART ##
############### ###############
# picom : coins arrondis (parité visuelle avec Hyprland) — config FWS légère. # picom : coins arrondis (parité visuelle avec Hyprland) — config FWS légère.
exec --no-startup-id picom --config ~/.config/picom.conf # PAS en machine virtuelle : le compositing sur GPU virtuel (vmwgfx/llvmpipe)
# rate le repaint des fenêtres GTK → contenus noirs/artefacts. Les coins
# arrondis sont sacrifiés en VM ; sur matériel réel picom se lance normalement.
exec --no-startup-id sh -c 'systemd-detect-virt --quiet || exec picom --config ~/.config/picom.conf'
exec --no-startup-id dunst exec --no-startup-id dunst
exec --no-startup-id nm-applet exec --no-startup-id nm-applet
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1