making rofi work a lil better

This commit is contained in:
Chris Cochrun 2021-09-27 17:13:21 -05:00
parent 9daaa96d74
commit 38e0f2f923
14 changed files with 156 additions and 79 deletions

View file

@ -1,12 +1,23 @@
(defwindow example
:monitor 0
:geometry (geometry :x "0%"
:y "20px"
:width "90%"
:height "30px"
:y "80px"
:width "20%"
:height "60px"
:anchor "top center")
:stacking "fg"
:reserve (struts :distance "40px" :side "top")
:windowtype "dock"
:wm-ignore false
"example content")
:windowtype "dialog"
:wm-ignore true
volslider)
(deflisten volume
:initial "getvol"
'tail -F /tmp/vol')
(defwidget volslider []
(box :orientation "horizontal"
:halign "center"
volume
(scale :value volume
:min 0
:max 100)))