mirror of
https://github.com/CoolnsX/hyprdots.git
synced 2025-12-20 07:15:23 +05:30
Feat: brightness script, and refactor info script
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
.lyrics {
|
||||
color: #EBCB8B;
|
||||
margin : -10px 0px 0px 0px;
|
||||
font-family: IBM Plex Sans Text;
|
||||
font-family: IBM Plex Sans;
|
||||
font-size : 18px;
|
||||
}
|
||||
.music_bar {
|
||||
|
||||
13
eww/eww.yuck
13
eww/eww.yuck
@@ -43,7 +43,7 @@
|
||||
:y "50"
|
||||
:width "30%"
|
||||
:height "40px"
|
||||
:anchor "bottom left")
|
||||
:anchor "bottom right")
|
||||
:stacking "bg"
|
||||
:reserve (struts :distance "10px" :side "bottom")
|
||||
:windowtype "dock"
|
||||
@@ -56,7 +56,7 @@
|
||||
:y "50"
|
||||
:width "30%"
|
||||
:height "40px"
|
||||
:anchor "bottom left")
|
||||
:anchor "bottomleft")
|
||||
:stacking "bg"
|
||||
:reserve (struts :distance "10px" :side "bottom")
|
||||
:windowtype "dock"
|
||||
@@ -70,9 +70,7 @@
|
||||
|
||||
(defwidget music []
|
||||
(box :class "genwin" :orientation "h" :spacing 50 :space-evenly "false" :vexpand "false" :hexpand "false"
|
||||
(box :class "box_art" :vexpand "false" :hexpand "false"
|
||||
(circular-progress :class "music_bar" :value CURRENT :thickness 10 :clockwise true :start-at "${(CURRENT+75)%100}"
|
||||
(image :path "${song.cover}" :image-height 270 :image-width 270)))
|
||||
|
||||
(box :orientation "v" :spacing 20 :space-evenly "false" :vexpand "false" :hexpand "false"
|
||||
(label :tooltip "${song.name}" :halign "center" :class "song" :wrap "false" :limit-width 32 :text "${song.name}")
|
||||
(label :halign "center" :class "artist" :wrap "false" :limit-width 20 :text "${song.artist}")
|
||||
@@ -82,4 +80,7 @@
|
||||
(button :class "btn_play" :onclick "./script play_toggle" STATUS)
|
||||
(button :class "btn_controls" :tooltip "Seek +1%" :onclick "./script seek '1'" "")
|
||||
(button :class "btn_controls" :tooltip "Upcoming : ${song.next}" :onclick "./script next" ""))
|
||||
(label :wrap "true" :class "lyrics" :text LYRICS))))
|
||||
(label :wrap "true" :class "lyrics" :text LYRICS))
|
||||
(box :class "box_art" :vexpand "false" :hexpand "false"
|
||||
(circular-progress :class "music_bar" :value CURRENT :thickness 10 :clockwise true :start-at "${(CURRENT+75)%100}"
|
||||
(image :path "${song.cover}" :image-height 270 :image-width 270)))))
|
||||
|
||||
Reference in New Issue
Block a user