kconf_update: Drop kwin-6.0-overview-activities-shortcuts script
There are a few issues: - it's incompatible with Version 6 format - activity shortcuts cannot be changed in kwin - overview shortcuts don't need to be touched BUG: 480758
This commit is contained in:
parent
6b4018014c
commit
540dff30e7
3 changed files with 0 additions and 29 deletions
|
@ -13,5 +13,3 @@ install(TARGETS kwin-6.0-reset-active-mouse-screen DESTINATION ${KDE_INSTALL_LIB
|
||||||
|
|
||||||
install(FILES kwin.upd
|
install(FILES kwin.upd
|
||||||
DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
|
DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
|
||||||
install(PROGRAMS kwin-6.0-overview-activities-shortcuts.py
|
|
||||||
DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
|
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
#!/usr/bin/env python3
|
|
||||||
# SPDX-FileCopyrightText: 2023 Niccolò Venerandi <niccolo.venerandi@kde.org>
|
|
||||||
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
||||||
|
|
||||||
import fileinput
|
|
||||||
|
|
||||||
for line in fileinput.input():
|
|
||||||
if line.startswith('next activity'):
|
|
||||||
print(line.replace('Meta+Tab', 'Meta+A'))
|
|
||||||
elif line.startswith('previous activity'):
|
|
||||||
print(line.replace('Meta+Shift+Tab', 'Meta+Shift+A'))
|
|
||||||
elif line.startswith('ShowDesktopGrid'):
|
|
||||||
pass
|
|
||||||
elif line.startswith('Overview'):
|
|
||||||
print('Overview=Meta+W,Meta+W,Toggle Overview')
|
|
||||||
print('Cycle Overview=Meta+Tab,Meta+Tab,Cycle through Overview and Grid View')
|
|
||||||
print('Cycle Overview Opposite=Meta+Shift+Tab,Meta+Shift+Tab,Cycle through Grid View and Overview')
|
|
||||||
print('Grid View=Meta+G,Meta+G,Toggle Grid View')
|
|
||||||
else:
|
|
||||||
print(line)
|
|
|
@ -10,10 +10,3 @@ Script=kwin-6.0-reset-active-mouse-screen
|
||||||
# Delete old desktop switching shortcuts.
|
# Delete old desktop switching shortcuts.
|
||||||
Id=kwin-6.0-delete-desktop-switching-shortcuts
|
Id=kwin-6.0-delete-desktop-switching-shortcuts
|
||||||
Script=kwin-6.0-delete-desktop-switching-shortcuts
|
Script=kwin-6.0-delete-desktop-switching-shortcuts
|
||||||
|
|
||||||
# Changes the default Activities shortcut from Meta+Tab to Meta+A,
|
|
||||||
# so that the Overview can take its place
|
|
||||||
Id=change-activities-overview-shortcuts
|
|
||||||
File=kglobalshortcutsrc
|
|
||||||
Group=plasmashell,kwin
|
|
||||||
Script=kwin-6.0-overview-activities-shortcuts.py,python3
|
|
||||||
|
|
Loading…
Reference in a new issue