forked from Shinonome/dots-hyprland
waffles: taskview: draggable windows
This commit is contained in:
@@ -123,6 +123,18 @@ Rectangle {
|
|||||||
TaskViewWindow {
|
TaskViewWindow {
|
||||||
id: windowItem
|
id: windowItem
|
||||||
z: 9999
|
z: 9999
|
||||||
|
drag {
|
||||||
|
target: this
|
||||||
|
onActiveChanged: {
|
||||||
|
if (drag.active) {
|
||||||
|
parent = root;
|
||||||
|
} else {
|
||||||
|
parent = clientGridArea;
|
||||||
|
x = 0;
|
||||||
|
y = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Layout.alignment: Qt.AlignTop
|
Layout.alignment: Qt.AlignTop
|
||||||
maxHeight: root.maxWindowHeight
|
maxHeight: root.maxWindowHeight
|
||||||
maxWidth: root.maxWindowWidth
|
maxWidth: root.maxWindowWidth
|
||||||
|
|||||||
@@ -3,4 +3,5 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|||||||
|
|
||||||
source $(eval echo $ILLOGICAL_IMPULSE_VIRTUAL_ENV)/bin/activate
|
source $(eval echo $ILLOGICAL_IMPULSE_VIRTUAL_ENV)/bin/activate
|
||||||
GIO_USE_VFS=local "$SCRIPT_DIR/thumbgen.py" "$@"
|
GIO_USE_VFS=local "$SCRIPT_DIR/thumbgen.py" "$@"
|
||||||
deactivate
|
deactivate
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user