I have an eye problem and cannot use white canvas.
Unfortunately some applications dont have a dark mode.
Is there any way to launch an application from terminal with inverted colors ?
I cannot use xcalib, as it inverts all colors in the window manager. It needs to just invert colors for a specific window. Maybe something that acts as a wrapper for an application.
What I found so far is that the compositor picom may work.
You need to find the picom.conf file and enter the windows you want to invert colors for.
Th entry looks like this
invert-color-include = [ “name *?=‘Application Name’” ];
where the Application name must be exactly that as used by the system.
This can be a bit more tricky to find the correct string.
You then have to disable the existing compositor and activate picom.