mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
envmanager: Manually specify window placement and decoration settings when not in docked mode
This commit is contained in:
parent
293af7df36
commit
ff4d501a7b
1 changed files with 3 additions and 1 deletions
|
|
@ -33,8 +33,10 @@ QMap<QString, QMap<QString, QVariant>> getKwinrcSettings(KSharedConfig::Ptr m_mo
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{"Plugins", {{"blurEnabled", false}, {"convergentwindowsEnabled", true}}},
|
{"Plugins", {{"blurEnabled", false}, {"convergentwindowsEnabled", true}}},
|
||||||
|
{"Windows", {{"Placement", convergenceModeEnabled ? "PlacementDefault" : "Maximizing"}}},
|
||||||
{"Wayland", {{"InputMethod", "/usr/share/applications/com.github.maliit.keyboard.desktop"}, {"VirtualKeyboardEnabled", true}}},
|
{"Wayland", {{"InputMethod", "/usr/share/applications/com.github.maliit.keyboard.desktop"}, {"VirtualKeyboardEnabled", true}}},
|
||||||
{"org.kde.kdecoration2",
|
{"org.kde.kdecoration2",
|
||||||
{{"ButtonsOnRight", convergenceModeEnabled ? "HIAX" : "H"}}} // ButtonsOnRight changes depending on whether the device is in convergence mode
|
{{"NoPlugin", !convergenceModeEnabled},
|
||||||
|
{"ButtonsOnRight", convergenceModeEnabled ? "HIAX" : "H"}}} // ButtonsOnRight changes depending on whether the device is in convergence mode
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue