mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-09-17 11:37:10 +03:00
fix!: remove old config button from KWin scripts page
Configuration is now done via Bismuth KCM.
This commit is contained in:
parent
e8461790a8
commit
ff3375314b
13
TWEAKS.md
13
TWEAKS.md
@ -6,19 +6,6 @@
|
||||
|
||||
# Tweaks
|
||||
|
||||
## Enabling User-Configuration
|
||||
|
||||
If you've installed the script from KDE Store, you need to enable configuration button via:
|
||||
|
||||
mkdir -p ~/.local/share/kservices5/
|
||||
ln -s ~/.local/share/kwin/scripts/bismuth/metadata.desktop ~/.local/share/kservices5/bismuth.desktop
|
||||
|
||||
A configuration button will appear in `KWin Scripts` in `System Settings`.
|
||||
|
||||
![config button shown](img/scripts_kcm_item.png)
|
||||
|
||||
Track this issue [here](#56).
|
||||
|
||||
## Making changes to configuration
|
||||
|
||||
To make changes effective, **the script must be reactivated**:
|
||||
|
@ -60,3 +60,4 @@ install(FILES package/metadata.desktop RENAME kcm_bismuth.desktop DESTINATION ${
|
||||
kpackage_install_package(package kcm_bismuth kcms)
|
||||
|
||||
add_subdirectory(icons)
|
||||
add_subdirectory(kconf_update)
|
||||
|
11
src/kcm/kconf_update/CMakeLists.txt
Normal file
11
src/kcm/kconf_update/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
# SPDX-FileCopyrightText: 2021 Mikhail Zolotukhin <mail@genda.life>
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
install(
|
||||
FILES old_conf_ui.upd
|
||||
DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR}
|
||||
)
|
||||
install(
|
||||
PROGRAMS old_conf_ui.sh
|
||||
DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR}
|
||||
)
|
7
src/kcm/kconf_update/old_conf_ui.sh
Executable file
7
src/kcm/kconf_update/old_conf_ui.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# SPDX-FileCopyrightText: 2021 Mikhail Zolotukhin <mail@genda.life>
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
# Remove symlink for legacy config ui
|
||||
rm ~/.local/share/kservices5/bismuth.desktop
|
7
src/kcm/kconf_update/old_conf_ui.upd
Normal file
7
src/kcm/kconf_update/old_conf_ui.upd
Normal file
@ -0,0 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2021 Mikhail Zolotukhin <mail@genda.life>
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
Version=5
|
||||
|
||||
Id=bismuth-old-conf-ui
|
||||
Script=old_conf_ui.sh,bash
|
Loading…
Reference in New Issue
Block a user