added some styling
This commit is contained in:
@@ -26,6 +26,11 @@
|
|||||||
background: red;
|
background: red;
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&--tooltip{
|
||||||
|
background: darkgrey;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.music {
|
.music {
|
||||||
|
@@ -19,18 +19,16 @@
|
|||||||
:icon-size: 12
|
:icon-size: 12
|
||||||
:icon {activewindow.class}))
|
:icon {activewindow.class}))
|
||||||
|
|
||||||
(defwidget windowTitle []
|
|
||||||
(label
|
|
||||||
:class "windowTitle"
|
|
||||||
:limit-width 25
|
|
||||||
:unindent true
|
|
||||||
:text "${activewindow.title}"))
|
|
||||||
|
|
||||||
(defwidget hypr_active_window []
|
(defwidget hypr_active_window []
|
||||||
|
(tooltip
|
||||||
|
(label :class "activewindow--tooltip" :text {activewindow.title})
|
||||||
(box
|
(box
|
||||||
:class "activewindow${activewindow.xwayland == true ? '--xwayland' : ''}"
|
:class "activewindow${activewindow.xwayland == true ? '--xwayland' : ''}"
|
||||||
:halign "left"
|
:halign "left"
|
||||||
:valign "center"
|
:valign "center"
|
||||||
:spacing 1
|
:spacing 1
|
||||||
:tooltip {activewindow.class}
|
(label
|
||||||
(windowTitle)))
|
:limit-width 25
|
||||||
|
:unindent true
|
||||||
|
:text "${activewindow.class}"))))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user