kconf_update: replace cascaded by zero-cornered placement

This commit is contained in:
Natalie Clarius 2022-12-01 22:43:34 +01:00
parent b6412454c2
commit 8ebe9c7981
3 changed files with 24 additions and 0 deletions

View file

@ -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})

View file

@ -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

View file

@ -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