-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try adding settings to configure sizes
- Loading branch information
1 parent
1fd4d7e
commit cb7e7ce
Showing
9 changed files
with
147 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0 | ||
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd"> | ||
<kcfgfile name=""/> | ||
<group name="General"> | ||
<entry name="sizes" type="StringList"> | ||
<default>75,66.6666,50,33.3333,25</default> | ||
</entry> | ||
</group> | ||
</kcfg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>KWin::YanjingConfigForm</class> | ||
<widget class="QWidget" name="KWin::YanjingConfigForm"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>480</width> | ||
<height>320</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>Yanjing</string> | ||
</property> | ||
<layout class="QFormLayout" name="formLayout"> | ||
<item row="1" column="0"> | ||
<layout class="QHBoxLayout" name="layout1"> | ||
<item> | ||
<widget class="QLabel" name="labelSizes"> | ||
<property name="text"> | ||
<string>Sizes, float, comma sep</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QLineEdit" name="kcfg_sizes"> | ||
<property name="toolTip"> | ||
<string>Comma separated window size percentages, e.g. "66.6666, 50, 25"</string> | ||
</property> | ||
<property name="statusTip"> | ||
<string>Window width percentages</string> | ||
</property> | ||
<property name="whatsThis"> | ||
<string>Window width percentages</string> | ||
</property> | ||
<property name="text"> | ||
<string>75,66.6666,50,33.3333,25</string> | ||
</property> | ||
<property name="placeholderText"> | ||
<string>e.g. 75,66.6666,50,33.3333,25</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
</layout> | ||
</widget> | ||
<resources /> | ||
<connections /> | ||
</ui> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,11 @@ Comment=Window size and movement | |
Icon=preferences-system-windows-script-test | ||
Type=Service | ||
|
||
X-KDE-ServiceTypes=KWin/Script | ||
X-KDE-ServiceTypes=KWin/Script,KCModule | ||
X-Plasma-API=javascript | ||
X-Plasma-MainScript=code/main.js | ||
|
||
X-KDE-PluginInfo-EnabledByDefault=true | ||
|
||
X-KDE-PluginInfo-Name=yanjing | ||
X-KDE-PluginInfo-Version=4.1.1 | ||
|
@@ -16,8 +20,7 @@ X-KDE-PluginInfo-Website=https://github.com/davidosomething/yanjing | |
[email protected] | ||
X-KDE-PluginInfo-License=MIT | ||
X-KDE-PluginInfo-EnabledByDefault=true | ||
X-Plasma-API=javascript | ||
X-Plasma-MainScript=code/main.js | ||
X-KDE-Library=kwin/effects/configs/kcm_kwin4_genericscripted | ||
X-KDE-PluginKeyword=yanjing | ||
X-KDE-ParentComponents=yanjing | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters