From 0541177974529d3fdf2cdcba4ec893b4673c55aa Mon Sep 17 00:00:00 2001 From: The_miro Date: Thu, 9 Jul 2026 08:34:41 +0200 Subject: [PATCH] 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 Claude-Session: https://claude.ai/code/session_01TLz6HWsXCwzQ97LrLt2em6 --- desktopenvs/hyprlua/eww-touch/eww.scss | 11 ++++++++++- desktopenvs/hyprlua/eww-touch/eww.yuck | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/desktopenvs/hyprlua/eww-touch/eww.scss b/desktopenvs/hyprlua/eww-touch/eww.scss index c7270ec..eaba4a7 100644 --- a/desktopenvs/hyprlua/eww-touch/eww.scss +++ b/desktopenvs/hyprlua/eww-touch/eww.scss @@ -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 { diff --git a/desktopenvs/hyprlua/eww-touch/eww.yuck b/desktopenvs/hyprlua/eww-touch/eww.yuck index 1591e92..2cf248b 100644 --- a/desktopenvs/hyprlua/eww-touch/eww.yuck +++ b/desktopenvs/hyprlua/eww-touch/eww.yuck @@ -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@ {}%"