Advance Wayland and KDE package bring-up
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
registerScreenEdge(readConfig("Edge", 1), workspace.slotToggleShowDesktop);
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
import QtQuick
|
||||
import org.kde.kwin
|
||||
|
||||
ScreenEdgeHandler {
|
||||
edge: ScreenEdgeHandler.LeftEdge
|
||||
mode: ScreenEdgeHandler.Touch
|
||||
onActivated: {
|
||||
Workspace.slotToggleShowDesktop();
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
function init() {
|
||||
const edge = readConfig("Edge", 1);
|
||||
if (readConfig("mode", "") == "unregister") {
|
||||
unregisterScreenEdge(edge);
|
||||
} else {
|
||||
registerScreenEdge(edge, workspace.slotToggleShowDesktop);
|
||||
}
|
||||
}
|
||||
options.configChanged.connect(init);
|
||||
|
||||
init();
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
registerTouchScreenEdge(readConfig("Edge", 1), workspace.slotToggleShowDesktop);
|
||||
Reference in New Issue
Block a user