added some styling

This commit is contained in:
2025-03-06 22:00:44 +01:00
parent 22bb8db705
commit 324f6685be
2 changed files with 17 additions and 14 deletions

View File

@@ -26,6 +26,11 @@
background: red;
color: black;
}
&--tooltip{
background: darkgrey;
color: white;
}
}
.music {

View File

@@ -19,18 +19,16 @@
:icon-size: 12
:icon {activewindow.class}))
(defwidget windowTitle []
(label
:class "windowTitle"
:limit-width 25
:unindent true
:text "${activewindow.title}"))
(defwidget hypr_active_window []
(tooltip
(label :class "activewindow--tooltip" :text {activewindow.title})
(box
:class "activewindow${activewindow.xwayland == true ? '--xwayland' : ''}"
:halign "left"
:valign "center"
:spacing 1
:tooltip {activewindow.class}
(windowTitle)))
(label
:limit-width 25
:unindent true
:text "${activewindow.class}"))))