adds overview, removes old stuff

This commit is contained in:
2026-08-19 20:47:29 +02:00
parent 6a9ae98c26
commit 67d50fb504
75 changed files with 3558 additions and 1691 deletions
@@ -0,0 +1,30 @@
// modules/WindowTitleWidget.qml - hyprland/window equivalent
import QtQuick
import Quickshell.Hyprland
import ".."
Pill {
id: root
required property var screen
clip: true
Behavior on implicitWidth {
NumberAnimation { duration: 250; easing.type: Easing.InOutCubic }
}
readonly property string displayTitle: {
let rawTitle = Hyprland.activeToplevel ? Hyprland.activeToplevel.title : "";
if (rawTitle.length > 45) {
return rawTitle.substring(0, Theme.titleLength) + "...";
}
return rawTitle;
}
Text {
text: root.displayTitle
font { family: Theme.fontSans; pixelSize: Theme.fontSize }
color: Theme.pillText
elide: Text.ElideRight
maximumLineCount: 1
}
}