plasma-manager
plasma-manager copied to clipboard
Window Rule for Position, Virtual Desktops & Keep Above Windows
I'm probably doing something wrong, but this doesn't seem to work:
window-rules = [
{
description = "Picture-in-Picture";
match = {
window-class = {
value = "zen zen";
type = "substring";
};
title = {
value = "Picture-in-Picture";
type = "exact";
};
};
apply = {
position = {
value = "1511,84";
apply = "force";
};
virtual-desktops = {
value = "on-all-desktops";
apply = "initially";
};
keep-above-windows = {
value = true;
apply = "initially";
};
};
}
];
which produces this:
instead of the expected behavior:
Also is there a way to enforce this?
I found luck with this given by ~/.config/kwinrulesrc.
{
# ...
apply = {
desktops = { # Virtual desktops
value = "\\0"; # All desktops
apply = "initially";
};
above = { # Keep above other windows
value = true;
apply = "force";
};
};
}
"Ignore requested geometry" seems to correspond to ignoregeometry if that is what you're talking about (or set apply to force?).