diff --git a/contents/config/main.xml b/contents/config/main.xml
new file mode 100644
index 0000000..eb3721c
--- /dev/null
+++ b/contents/config/main.xml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+ Fullscreen
+
+
+
+
+
+
+
+ RightMost
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
diff --git a/contents/ui/config.ui b/contents/ui/config.ui
new file mode 100644
index 0000000..4bd00a2
--- /dev/null
+++ b/contents/ui/config.ui
@@ -0,0 +1,213 @@
+
+
+ Form
+
+
+
+ 0
+ 0
+ 358
+ 429
+
+
+
+
+ 0
+ 0
+
+
+
+ Form
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ &Position:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ kcfg_newDesktopPosition
+
+
+
+ -
+
+
+ &Keep non-empty desktop
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 75
+ true
+
+
+
+ Remove Desktop
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+ KEditListWidget::Add|KEditListWidget::Remove
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
-
+
+ Right Most
+
+
+ -
+
+ Right To Current
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 75
+ true
+
+
+
+ New Desktop
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ &Trigger:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ kcfg_trigger
+
+
+
+ -
+
+
-
+
+ Fullscreen Only
+
+
+ -
+
+ Maximize Only
+
+
+ -
+
+ Fullscreen And Maximize
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 75
+ true
+
+
+
+ Window Class Blacklist
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+
+
+
+
+ KComboBox
+ QComboBox
+
+
+
+ KEditListWidget
+ QWidget
+
+
+
+
+ kcfg_trigger
+ kcfg_newDesktopPosition
+ kcfg_keepNonEmptyDesktop
+
+
+
+
diff --git a/metadata.desktop b/metadata.desktop
index d1537da..49e2c88 100644
--- a/metadata.desktop
+++ b/metadata.desktop
@@ -2,18 +2,22 @@
Name=Maxmize To New Virtual Desktop
Comment=Automatically move fullscreened window to a new virtual desktop.
Icon=preferences-system-windows-script-test
-Type=Service
-
-X-Plasma-API=javascript
-X-Plasma-MainScript=code/main.js
X-KDE-PluginInfo-Author=Aetf
X-KDE-PluginInfo-Email=aetf@unlimitedcodeworks.com
X-KDE-PluginInfo-Name=max2NewVirtualDesktop
-X-KDE-PluginInfo-Version=0.1.0
+X-KDE-PluginInfo-Version=0.2.0
+X-KDE-PluginKeyword=max2NewVirtualDesktop
X-KDE-PluginInfo-EnabledByDefault=true
+Type=Service
+
+X-Plasma-API=javascript
+X-Plasma-MainScript=code/main.js
+
+X-KDE-Library=kwin/effects/configs/kcm_kwin4_genericscripted
+X-KDE-ParentComponents=max2NewVirtualDesktop
+
X-KDE-PluginInfo-Depends=
X-KDE-PluginInfo-License=MIT
-X-KDE-ServiceTypes=KWin/Script
-X-KDE-PluginKeyword=max2NewVirtualDesktop
+X-KDE-ServiceTypes=KWin/Script,KCModule