minor changes

This commit is contained in:
Candifloss 2024-08-05 01:52:37 +05:30
parent 91482ee4b8
commit 833bfad473
3 changed files with 47 additions and 40 deletions

View File

@ -0,0 +1,4 @@
(defwindow dock
)

View File

@ -5,6 +5,7 @@
:halign "fill" :halign "fill"
:height 50 :height 50
:width 200 :width 200
(box (box
:class "osd_prog_bg" :class "osd_prog_bg"
:halign "fill" :halign "fill"

View File

@ -2,7 +2,8 @@
(defwindow osd [osdtype] (defwindow osd [osdtype]
:geometry :geometry
(geometry :x "-1%" (geometry
:x "-1%"
:y "4.5%" :y "4.5%"
:width "10%" :width "10%"
:height "4%" :height "4%"
@ -17,7 +18,8 @@
(osd_widg (osd_widg
:osdtype "${osdtype}" :osdtype "${osdtype}"
:osd_value {osdtype=="osd_vol" ? :osd_value
{osdtype=="osd_vol" ?
"${vol}" : osdtype=="osd_bri" ? "${vol}" : osdtype=="osd_bri" ?
"${brit}" : "${battery}" "${brit}" : "${battery}"
} }