kconf_update: replace cascaded by zero-cornered placement
This commit is contained in:
parent
b6412454c2
commit
8ebe9c7981
3 changed files with 24 additions and 0 deletions
|
@ -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})
|
||||
|
|
16
kconf_update/kwin-5.27-replace-cascaded-zerocornered.sh
Normal file
16
kconf_update/kwin-5.27-replace-cascaded-zerocornered.sh
Normal 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
|
|
@ -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…
Reference in a new issue