kconf_update: replace cascaded by zero-cornered placement

master
Natalie Clarius 2 years ago
parent b6412454c2
commit 8ebe9c7981

@ -18,6 +18,8 @@ install(PROGRAMS kwin-5.23-remove-cubeslide.py
DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
install(PROGRAMS kwin-5.23-remove-xrender-backend.py
DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
install(PROGRAMS kwin-5.27-replace-cascaded-zerocornered.sh
DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
install(FILES kwinrules.upd
DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})

@ -0,0 +1,16 @@
#!/bin/sh
# KWin - the KDE window manager
# This file is part of the KDE project.
# SPDX-FileCopyrightText: 2022 Natalie Clarius <natalie_clarius@yahoo.de>
# SPDX-License-Identifier: GPL-2.0-or-later
while read -r line; do
if [ "$line" = "Placement=Cascaded" ]; then
echo "Placement=ZeroCornered"
else
echo "$line"
fi
done

@ -97,3 +97,9 @@ Id=animation-speed-cleanup
File=kwinrc
Group=KDE
RemoveKey=AnimationDurationFactor
# Replace the cascaded placement policy by zero-cornered
Id=replace-cascaded-zerocornered
File=kwinrc
Group=Windows
Script=kwin-5.27-replace-cascaded-zerocornered.sh,sh

Loading…
Cancel
Save