diff --git a/config/eww/quick-settings/quick-settings.scss b/config/eww/quick-settings/quick-settings.scss index 76f4562..e293997 100644 --- a/config/eww/quick-settings/quick-settings.scss +++ b/config/eww/quick-settings/quick-settings.scss @@ -148,7 +148,7 @@ border-bottom: 2px solid $contrastbg; border-radius: 15px; margin-top: 30px; - margin-bottom: 50px; + margin-bottom: 20px; .slider { margin-left: 10px; diff --git a/config/eww/quick-settings/quick-settings.yuck b/config/eww/quick-settings/quick-settings.yuck index 798d342..35bdf20 100644 --- a/config/eww/quick-settings/quick-settings.yuck +++ b/config/eww/quick-settings/quick-settings.yuck @@ -56,7 +56,7 @@ ) ) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - +(defvar expand_player "false") (defwidget quick-settings [] (box :orientation "v" :space-evenly false @@ -317,11 +317,25 @@ ) ) ) + (centerbox :orientation "h" + :style "margin-bottom: 10px;" + (label) + + (eventbox :cursor "pointer" + :onclick "${expand_player == 'true' ? 'eww update expand_player=false' : 'eww update expand_player=true'}" + "${expand_player == 'true' ? ' ' : ' ' }" + ) + + (label) + ) ) + (revealer :reveal expand_player + :transition "slidedown" (box :class "player" (playerinfo) ) ) + ) ) (defwindow quick-settings-reveal :monitor 0