Warning, /plasma/kwin/src/rulesettings.kcfg is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
0003   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
0004       http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
0005   <kcfgfile arg="true">
0006     <parameter name="ruleDescriptionOrNumber"/>
0007   </kcfgfile>
0008   <group name="$(ruleDescriptionOrNumber)">
0009     <entry name="description" key="Description" type="String">
0010       <label>Rule description</label>
0011     </entry>
0012     <entry name="descriptionLegacy" key="description" type="String">
0013       <label>Rule description (legacy)</label>
0014     </entry>
0015     <entry name="DeleteRule" key="deleteRule" type="Bool">
0016       <label>Delete this rule (for use in imports)</label>
0017       <default>false</default>
0018     </entry>
0019     <entry name="wmclass" type="String">
0020       <label>Window class (application)</label>
0021     </entry>
0022     <entry name="wmclassmatch" type="Int">
0023       <label>Window class string match type</label>
0024       <default code="true">Rules::UnimportantMatch</default>
0025       <min code="true">Rules::FirstStringMatch</min>
0026       <max code="true">Rules::LastStringMatch</max>
0027     </entry>
0028     <entry name="wmclasscomplete" type="Bool">
0029       <label>Match whole window class</label>
0030       <default code="true">Rules::UnimportantMatch</default>
0031     </entry>
0032 
0033     <entry name="windowrole" type="String">
0034       <label>Window role</label>
0035     </entry>
0036     <entry name="windowrolematch" type="Int">
0037       <label>Window role string match type</label>
0038       <default code="true">Rules::UnimportantMatch</default>
0039       <min code="true">Rules::FirstStringMatch</min>
0040       <max code="true">Rules::LastStringMatch</max>
0041     </entry>
0042 
0043     <entry name="title" type="String">
0044       <label>Window title</label>
0045     </entry>
0046     <entry name="titlematch" type="Int">
0047       <label>Window title string match type</label>
0048       <default code="true">Rules::UnimportantMatch</default>
0049       <min code="true">Rules::FirstStringMatch</min>
0050       <max code="true">Rules::LastStringMatch</max>
0051     </entry>
0052 
0053     <entry name="clientmachine" type="String">
0054       <label>Machine (hostname)</label>
0055     </entry>
0056     <entry name="clientmachinematch" type="Int">
0057       <label>Machine string match type</label>
0058       <default code="true">Rules::UnimportantMatch</default>
0059       <min code="true">Rules::FirstStringMatch</min>
0060       <max code="true">Rules::LastStringMatch</max>
0061     </entry>
0062 
0063     <entry name="types" type="UInt">
0064       <label>Window types that match</label>
0065       <default>NET::AllTypesMask</default>
0066     </entry>
0067 
0068     <entry name="placement" type="Enum">
0069       <label>Initial placement</label>
0070       <choices name="PlacementPolicy"/>
0071       <default code="true">PlacementCentered</default>
0072     </entry>
0073     <entry name="placementrule" type="Int">
0074       <label>Initial placement rule type</label>
0075       <default code="true">Rules::UnusedForceRule</default>
0076     </entry>
0077 
0078     <entry name="position" type="Point">
0079       <label>Window position</label>
0080       <default>invalidPoint</default>
0081     </entry>
0082     <entry name="positionrule" type="Int">
0083       <label>Window position rule type</label>
0084       <min code="true">Rules::UnusedSetRule</min>
0085       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0086       <default code="true">Rules::UnusedSetRule</default>
0087     </entry>
0088 
0089     <entry name="size" type="Size">
0090       <label>Window size</label>
0091     </entry>
0092     <entry name="sizerule" type="Int">
0093       <label>Window size rule type</label>
0094       <min code="true">Rules::UnusedSetRule</min>
0095       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0096       <default code="true">Rules::UnusedSetRule</default>
0097     </entry>
0098 
0099     <entry name="minsize" type="Size">
0100       <label>Window minimum size</label>
0101       <!-- <default>QSize(1, 1)</default> -->
0102     </entry>
0103     <entry name="minsizerule" type="Int">
0104       <label>Window minimum size rule type</label>
0105       <default code="true">Rules::UnusedForceRule</default>
0106     </entry>
0107 
0108     <entry name="maxsize" type="Size">
0109       <label>Window maximum size</label>
0110       <!-- <default>QSize(32767, 32767)</default> -->
0111     </entry>
0112     <entry name="maxsizerule" type="Int">
0113       <label>Window maximum size rule type</label>
0114       <default code="true">Rules::UnusedForceRule</default>
0115     </entry>
0116 
0117     <entry name="opacityactive" type="Int">
0118       <label>Active opacity</label>
0119       <min>0</min>
0120       <max>100</max>
0121       <default>100</default>
0122     </entry>
0123     <entry name="opacityactiverule" type="Int">
0124       <label>Active opacity rule type</label>
0125       <default code="true">Rules::UnusedForceRule</default>
0126     </entry>
0127 
0128     <entry name="opacityinactive" type="Int">
0129       <label>Inactive opacity</label>
0130       <min>0</min>
0131       <max>100</max>
0132       <default>100</default>
0133     </entry>
0134     <entry name="opacityinactiverule" type="Int">
0135       <label>Inactive opacity rule type</label>
0136       <default code="true">Rules::UnusedForceRule</default>
0137     </entry>
0138 
0139     <entry name="ignoregeometry" type="Bool">
0140       <label>Ignore requested geometry</label>
0141       <default>false</default>
0142     </entry>
0143     <entry name="ignoregeometryrule" type="Int">
0144       <label>Ignore requested geometry rule type</label>
0145       <min code="true">Rules::UnusedSetRule</min>
0146       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0147       <default code="true">Rules::UnusedSetRule</default>
0148     </entry>
0149 
0150     <entry name="desktops" type="StringList">
0151       <label>List of Desktop Ids</label>
0152       <default>{}</default>
0153     </entry>
0154     <entry name="desktopsrule" type="Int">
0155       <label>Desktop Ids rule type</label>
0156       <min code="true">Rules::UnusedSetRule</min>
0157       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0158       <default code="true">Rules::UnusedSetRule</default>
0159     </entry>
0160 
0161     <entry name="screen" type="Int">
0162       <label>Screen number</label>
0163       <default>0</default>
0164     </entry>
0165     <entry name="screenrule" type="Int">
0166       <label>Screen number rule type</label>
0167       <min code="true">Rules::UnusedSetRule</min>
0168       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0169       <default code="true">Rules::UnusedSetRule</default>
0170     </entry>
0171 
0172     <entry name="activity" type="StringList">
0173       <label>Activity</label>
0174     </entry>
0175     <entry name="activityrule" type="Int">
0176       <label>Activity rule type</label>
0177       <min code="true">Rules::UnusedSetRule</min>
0178       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0179       <default code="true">Rules::UnusedSetRule</default>
0180     </entry>
0181 
0182     <entry name="maximizevert" type="Bool">
0183       <label>Maximized vertically</label>
0184       <default>false</default>
0185     </entry>
0186     <entry name="maximizevertrule" type="Int">
0187       <label>Maximized vertically rule type</label>
0188       <min code="true">Rules::UnusedSetRule</min>
0189       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0190       <default code="true">Rules::UnusedSetRule</default>
0191     </entry>
0192 
0193     <entry name="maximizehoriz" type="Bool">
0194       <label>Maximized horizontally</label>
0195       <default>false</default>
0196     </entry>
0197     <entry name="maximizehorizrule" type="Int">
0198       <label>Maximized horizontally rule type</label>
0199       <min code="true">Rules::UnusedSetRule</min>
0200       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0201       <default code="true">Rules::UnusedSetRule</default>
0202     </entry>
0203 
0204     <entry name="minimize" type="Bool">
0205       <label>Minimized</label>
0206       <default>false</default>
0207     </entry>
0208     <entry name="minimizerule" type="Int">
0209       <label>Minimized rule type</label>
0210       <min code="true">Rules::UnusedSetRule</min>
0211       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0212       <default code="true">Rules::UnusedSetRule</default>
0213     </entry>
0214 
0215     <entry name="shade" type="Bool">
0216       <label>Shaded</label>
0217       <default>false</default>
0218     </entry>
0219     <entry name="shaderule" type="Int">
0220       <label>Shaded rule type</label>
0221       <min code="true">Rules::UnusedSetRule</min>
0222       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0223       <default code="true">Rules::UnusedSetRule</default>
0224     </entry>
0225 
0226     <entry name="skiptaskbar" type="Bool">
0227       <label>Skip taskbar</label>
0228       <default>false</default>
0229     </entry>
0230     <entry name="skiptaskbarrule" type="Int">
0231       <label>Skip taskbar rule type</label>
0232       <min code="true">Rules::UnusedSetRule</min>
0233       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0234       <default code="true">Rules::UnusedSetRule</default>
0235     </entry>
0236 
0237     <entry name="skippager" type="Bool">
0238       <label>Skip pager</label>
0239       <default>false</default>
0240     </entry>
0241     <entry name="skippagerrule" type="Int">
0242       <label>Skip pager rule type</label>
0243       <min code="true">Rules::UnusedSetRule</min>
0244       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0245       <default code="true">Rules::UnusedSetRule</default>
0246     </entry>
0247 
0248     <entry name="skipswitcher" type="Bool">
0249       <label>Skip switcher</label>
0250       <default>false</default>
0251     </entry>
0252     <entry name="skipswitcherrule" type="Int">
0253       <label>Skip switcher rule type</label>
0254       <min code="true">Rules::UnusedSetRule</min>
0255       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0256       <default code="true">Rules::UnusedSetRule</default>
0257     </entry>
0258 
0259     <entry name="above" type="Bool">
0260       <label>Keep above</label>
0261       <default>false</default>
0262     </entry>
0263     <entry name="aboverule" type="Int">
0264       <label>Keep above rule type</label>
0265       <min code="true">Rules::UnusedSetRule</min>
0266       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0267       <default code="true">Rules::UnusedSetRule</default>
0268     </entry>
0269 
0270     <entry name="below" type="Bool">
0271       <label>Keep below</label>
0272       <default>false</default>
0273     </entry>
0274     <entry name="belowrule" type="Int">
0275       <label>Keep below rule type</label>
0276       <min code="true">Rules::UnusedSetRule</min>
0277       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0278       <default code="true">Rules::UnusedSetRule</default>
0279     </entry>
0280 
0281     <entry name="fullscreen" type="Bool">
0282       <label>Fullscreen</label>
0283       <default>false</default>
0284     </entry>
0285     <entry name="fullscreenrule" type="Int">
0286       <label>Fullscreen rule type</label>
0287       <min code="true">Rules::UnusedSetRule</min>
0288       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0289       <default code="true">Rules::UnusedSetRule</default>
0290     </entry>
0291 
0292     <entry name="noborder" type="Bool">
0293       <label>No titlebar and frame</label>
0294       <default>false</default>
0295     </entry>
0296     <entry name="noborderrule" type="Int">
0297       <label>No titlebar rule type</label>
0298       <min code="true">Rules::UnusedSetRule</min>
0299       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0300       <default code="true">Rules::UnusedSetRule</default>
0301     </entry>
0302 
0303     <entry name="decocolor" type="String">
0304       <label>Titlebar color and scheme</label>
0305     </entry>
0306     <entry name="decocolorrule" type="Int">
0307       <label>Titlebar color rule type</label>
0308       <default code="true">Rules::UnusedForceRule</default>
0309     </entry>
0310 
0311     <entry name="blockcompositing" type="Bool">
0312       <label>Block Compositing</label>
0313       <default>false</default>
0314     </entry>
0315     <entry name="blockcompositingrule" type="Int">
0316       <label>Block Compositing rule type</label>
0317       <default code="true">Rules::UnusedForceRule</default>
0318     </entry>
0319 
0320     <entry name="fsplevel" type="Int">
0321       <label>Focus stealing prevention</label>
0322       <default>0</default>
0323       <min>0</min>
0324       <max>4</max>
0325     </entry>
0326     <entry name="fsplevelrule" type="Int">
0327       <label>Focus stealing prevention rule type</label>
0328       <default code="true">Rules::UnusedForceRule</default>
0329     </entry>
0330 
0331     <entry name="fpplevel" type="Int">
0332       <label>Focus protection</label>
0333       <default>0</default>
0334       <min>0</min>
0335       <max>4</max>
0336     </entry>
0337     <entry name="fpplevelrule" type="Int">
0338       <label>Focus protection rule type</label>
0339       <default code="true">Rules::UnusedForceRule</default>
0340     </entry>
0341 
0342     <entry name="acceptfocus" type="Bool">
0343       <label>Accept Focus</label>
0344       <default>false</default>
0345     </entry>
0346     <entry name="acceptfocusrule" type="Int">
0347       <label>Accept Focus rule type</label>
0348       <default code="true">Rules::UnusedForceRule</default>
0349     </entry>
0350 
0351     <entry name="closeable" type="Bool">
0352       <label>Closeable</label>
0353       <default>false</default>
0354     </entry>
0355     <entry name="closeablerule" type="Int">
0356       <label>Closeable rule type</label>
0357       <default code="true">Rules::UnusedForceRule</default>
0358     </entry>
0359 
0360     <entry name="autogroup" type="Bool">
0361       <label>Autogroup with identical</label>
0362       <default>false</default>
0363     </entry>
0364     <entry name="autogrouprule" type="Int">
0365       <label>Autogroup with identical rule type</label>
0366       <default code="true">Rules::UnusedForceRule</default>
0367     </entry>
0368 
0369     <entry name="autogroupfg" type="Bool">
0370       <label>Autogroup in foreground</label>
0371       <default>true</default>
0372     </entry>
0373     <entry name="autogroupfgrule" type="Int">
0374       <label>Autogroup in foreground rule type</label>
0375       <default code="true">Rules::UnusedForceRule</default>
0376     </entry>
0377 
0378     <entry name="autogroupid" type="String">
0379       <label>Autogroup by ID</label>
0380     </entry>
0381     <entry name="autogroupidrule" type="Int">
0382       <label>Autogroup by ID rule type</label>
0383       <default code="true">Rules::UnusedForceRule</default>
0384     </entry>
0385 
0386     <entry name="strictgeometry" type="Bool">
0387       <label>Obey geometry restrictions</label>
0388       <default>false</default>
0389     </entry>
0390     <entry name="strictgeometryrule" type="Int">
0391       <label>Obey geometry restrictions rule type</label>
0392       <default code="true">Rules::UnusedForceRule</default>
0393     </entry>
0394 
0395     <entry name="shortcut" type="String">
0396       <label>Shortcut</label>
0397     </entry>
0398     <entry name="shortcutrule" type="Int">
0399       <label>Shortcut rule type</label>
0400       <min code="true">Rules::UnusedSetRule</min>
0401       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0402       <default code="true">Rules::UnusedSetRule</default>
0403     </entry>
0404 
0405     <entry name="disableglobalshortcuts" type="Bool">
0406       <label>Ignore global shortcuts</label>
0407       <default>false</default>
0408     </entry>
0409     <entry name="disableglobalshortcutsrule" type="Int">
0410       <label>Ignore global shortcuts rule type</label>
0411       <default code="true">Rules::UnusedForceRule</default>
0412     </entry>
0413 
0414     <entry name="desktopfile" type="String">
0415       <label>Desktop file name</label>
0416     </entry>
0417     <entry name="desktopfilerule" type="Int">
0418       <label>Desktop file name rule type</label>
0419       <min code="true">Rules::UnusedSetRule</min>
0420       <max code="true">static_cast&lt;Rules::SetRule&gt;(Rules::ForceTemporarily)</max>
0421       <default code="true">Rules::UnusedSetRule</default>
0422     </entry>
0423 
0424     <entry name="layer" type="Enum">
0425       <label>Layer</label>
0426       <choices name="KWin::Layer">
0427         <choice name="DesktopLayer" value="desktop" />
0428         <choice name="BelowLayer" value="below" />
0429         <choice name="NormalLayer" value="normal" />
0430         <choice name="AboveLayer" value="above" />
0431         <choice name="NotificationLayer" value="notification" />
0432         <choice name="ActiveLayer" value="fullscreen" />
0433         <choice name="PopupLayer" value="popup" />
0434         <choice name="CriticalNotificationLayer" value="critical-notification" />
0435         <choice name="OnScreenDisplayLayer" value="osd" />
0436         <choice name="OverlayLayer" value="overlay" />
0437       </choices>
0438       <default code="true">NormalLayer</default>
0439     </entry>
0440     <entry name="layerrule" type="Int">
0441       <label>Layer rule type</label>
0442       <default code="true">Rules::UnusedForceRule</default>
0443     </entry>
0444   </group>
0445 </kcfg>