Add kwin full source tree, greeter login, zsh, pcid service, and build system improvements
This commit is contained in:
@@ -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="">
|
||||
<entry name="BackgroundColor" type="Color">
|
||||
<default>#ff00ff</default>
|
||||
</entry>
|
||||
</group>
|
||||
</kcfg>
|
||||
@@ -0,0 +1,2 @@
|
||||
SPDX-FileCopyrightText: None
|
||||
SPDX-License-Identifier: CC0-1.0
|
||||
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>QuickEffectConfig</class>
|
||||
<widget class="QWidget" name="QuickEffectConfig">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>455</width>
|
||||
<height>177</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QFormLayout" name="formLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Background color:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="KColorButton" name="kcfg_BackgroundColor">
|
||||
<property name="flat">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>KColorButton</class>
|
||||
<extends>QPushButton</extends>
|
||||
<header>kcolorbutton.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
@@ -0,0 +1,2 @@
|
||||
SPDX-FileCopyrightText: None
|
||||
SPDX-License-Identifier: CC0-1.0
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
SPDX-FileCopyrightText: 2023 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
|
||||
|
||||
SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
import QtQuick
|
||||
import org.kde.kwin
|
||||
|
||||
SceneEffect {
|
||||
id: effect
|
||||
|
||||
delegate: Rectangle {
|
||||
color: effect.configuration.BackgroundColor
|
||||
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: SceneView.screen.name
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: effect.visible = false
|
||||
}
|
||||
}
|
||||
|
||||
ScreenEdgeHandler {
|
||||
enabled: true
|
||||
edge: ScreenEdgeHandler.TopEdge
|
||||
onActivated: effect.visible = !effect.visible
|
||||
}
|
||||
|
||||
ShortcutHandler {
|
||||
name: "Toggle Quick Effect"
|
||||
text: "Toggle Quick Effect"
|
||||
sequence: "Meta+Ctrl+Q"
|
||||
onActivated: effect.visible = !effect.visible
|
||||
}
|
||||
|
||||
PinchGestureHandler {
|
||||
direction: PinchGestureHandler.Direction.Contracting
|
||||
fingerCount: 3
|
||||
onActivated: effect.visible = !effect.visible
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"KPackageStructure": "KWin/Effect",
|
||||
"KPlugin": {
|
||||
"Authors": [
|
||||
{
|
||||
"Email": "user@example.com",
|
||||
"Name": "Real Name"
|
||||
}
|
||||
],
|
||||
"Category": "Appearance",
|
||||
"Description": "Quick Effect",
|
||||
"EnabledByDefault": true,
|
||||
"Id": "quick-effect",
|
||||
"License": "MIT",
|
||||
"Name": "Quick Effect"
|
||||
},
|
||||
"X-KDE-ConfigModule": "kcm_kwin4_genericscripted",
|
||||
"X-KDE-Ordering": 60,
|
||||
"X-Plasma-API": "declarativescript"
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
SPDX-FileCopyrightText: None
|
||||
SPDX-License-Identifier: CC0-1.0
|
||||
Reference in New Issue
Block a user