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