fix(eww-touch): use nobattery bar's astal-menu launcher button
The touch bar's menu button used a bare icon-btn with no explicit toggle side, unlike the nobattery bar's accent-coloured launcher. Mirror the nobattery implementation (class + explicit "toggle top" args + .menu-launcher styling) for visual and behavioral consistency between bar variants. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TLz6HWsXCwzQ97LrLt2em6main
parent
5a0c671dea
commit
0541177974
|
|
@ -80,7 +80,16 @@ tooltip {
|
|||
|
||||
.workspace-active {
|
||||
color: #E40046;
|
||||
|
||||
|
||||
}
|
||||
|
||||
// astal-menu launcher button — accent-coloured icon, highlight on hover
|
||||
.menu-launcher {
|
||||
color: #E40046;
|
||||
font-size: 15pt;
|
||||
}
|
||||
.menu-launcher:hover {
|
||||
color: #5018dd;
|
||||
}
|
||||
|
||||
menuitem {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
(box :orientation "h" :space-evenly false :halign "start"
|
||||
(osk)
|
||||
(box :class "music" {"${battery}"})
|
||||
(button :onclick "~/.config/scripts/menu-toggle.sh" :class "icon-btn" :valign "center" :width 26 :height 26 {""})
|
||||
(button :class "music menu-launcher" :onclick "~/.config/scripts/menu-toggle.sh toggle top" {""})
|
||||
(metric :label " "
|
||||
:value volume
|
||||
:onchange "pactl set-sink-volume @DEFAULT_SINK@ {}%"
|
||||
|
|
|
|||
Loading…
Reference in New Issue