Skip to content

Commit 3571306

Browse files
committed
fix include/exlude list not working correctly; port to JSON format for metadata
1 parent 8ca237c commit 3571306

File tree

6 files changed

+42
-28
lines changed

6 files changed

+42
-28
lines changed

always-open-on-active-screen/CHANGELOG.bbcode

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
[h1]v5.0[/h1]
2+
[list]\n[*] fix include/exlude list not working correctly
3+
[*] port to JSON format for metadata
4+
[/list]
5+
16
[h1]v4.0[/h1]
27
[list]\n[*] add configuration to include/exclude windows by application
38
[/list]

always-open-on-active-screen/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v5.0
2+
- fix include/exlude list not working correctly
3+
- port to JSON format for metadata
4+
15
# v4.0
26
- add configuration to include/exclude windows by application
37

always-open-on-active-screen/metadata.desktop

Lines changed: 0 additions & 27 deletions
This file was deleted.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"KPlugin": {
3+
"Authors": [
4+
{
5+
"Email": "[email protected]",
6+
"Name": "Natalie Clarius"
7+
}
8+
],
9+
"Description": "Always opens new windows on the monitor that has the mouse cursor",
10+
"Description[de]": "Öffnet neue Fenster immer auf dem Monitor mit dem Mauszeiger",
11+
"Description[nl]": "Opent nieuwe vensters altijd op het scherm met de cursor]",
12+
"Icon": "preferences-system-windows",
13+
"Id": "alwaysopenonactivescreen",
14+
"License": "GPLv3.0",
15+
"Name": "Always Open on Active Screen",
16+
"Name[de]": "Immer auf aktivem Bildschirm öffnen",
17+
"Name[nl]": "Altijd openen op actief scherm",
18+
"ServiceTypes": [
19+
"KWin/Script",
20+
"KCModule"
21+
],
22+
"Version": "5.0",
23+
"Website": "https://store.kde.org/p/1617640/"
24+
},
25+
"X-KDE-ConfigModule": "kwin/effects/configs/kcm_kwin4_genericscripted",
26+
"X-KDE-ParentComponents": [
27+
"alwaysopenonactivescreen"
28+
],
29+
"X-KDE-PluginKeyword": "alwaysopenonactivescreen",
30+
"X-Plasma-API": "javascript",
31+
"X-Plasma-MainScript": "code/main.js"
32+
}

always-open-on-active-screen/package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# get plugin info
44
name=$(basename "$PWD")
5-
version=$(grep -oP '(?<=X-KDE-PluginInfo-Version=).*' ./metadata.desktop)
5+
version=$(grep -oP '"Version":\s*"[^"]*' ./metadata.json | grep -oP '[^"]*$')
66
echo "$name"' v'"$version"
77

88
# generate changelog in markdown format

0 commit comments

Comments
 (0)