diff --git a/home-manager/wayland/eww/eww.scss b/home-manager/wayland/eww/eww.scss index da3434a..0e63d34 100644 --- a/home-manager/wayland/eww/eww.scss +++ b/home-manager/wayland/eww/eww.scss @@ -200,17 +200,12 @@ scale trough { .bar-internet { margin-left: 5px; margin-right: 9px; - font-family: "JetBrains Mono"; + font-size: 15px; color: #bb9af7; - font-size: 12px; &.disabled { color: $disabled; } - - .symbol { - font-size: 15px; - } } .bar-bluetooth { diff --git a/home-manager/wayland/eww/eww.yuck b/home-manager/wayland/eww/eww.yuck index 061c84e..7ad1c48 100644 --- a/home-manager/wayland/eww/eww.yuck +++ b/home-manager/wayland/eww/eww.yuck @@ -32,9 +32,9 @@ } ${workspace.windows > 0 ? "occupied" : "empty" } ${workspace.previous > 0 ? "previous-occupied" : "previous-empty" } ${workspace.next > 0 ? "next-occupied" : "next-empty"}" - (label :text {workspace.id})) + {workspace.id}) (box :visible {workspace.id == current_workspace} - (label :text {workspace.id}))))) + {workspace.id})))) (defwidget bar_workspaces [] (eventbox :onscroll "scripts/change-active-workspace {} ${current_workspace}" @@ -104,9 +104,10 @@ :halign "start" :limit-width title-limit :text {mpris.title ?: ""})))))) -;; Scales (Volume + Brightness) +;; Scales (Volume + Brightness) + (defwidget bar_scale [?class reveal-name reveal value symbol onchange ?onclick] (eventbox :onhover "${EWW_CMD} update ${reveal-name}=true" :onhoverlost "${EWW_CMD} update ${reveal-name}=false" @@ -224,12 +225,11 @@ :space-evenly false :tooltip {ethernet != "{}" ? "${ethernet.name} (${ethernet.device})" : wifi != "{}" ? "${wifi.name} (${wifi.device})" : ""} - (label :class "symbol" - :text {wifi != "{}" ? "󰤨" : ethernet != "{}" ? "󰈀" : "󰤮"}))) + {wifi != "{}" ? "󰤨" : ethernet != "{}" ? "󰈀" : "󰤮"})) (defwidget bar_bluetooth [] (box :class "bar-bluetooth ${bluetooth == "{}" ? "disabled" : ""}" - (label :text {bluetooth != "{}" ? "󰂯" : "󰂲"}))) + {bluetooth != "{}" ? "󰂯" : "󰂲"})) ;; Power Menu @@ -240,7 +240,7 @@ (eventbox :onclick "${EWW_CMD} active-windows | grep -q power \ && ${EWW_CMD} close power || ${EWW_CMD} open power" (box :class "bar-power" - (label :text "⏻")))) + "⏻"))) (defwindow power :monitor 0 @@ -259,23 +259,23 @@ (button :onclick "systemctl suspend" :tooltip "Sleep" (box :style "color: #9aa5ce;" - (label :text "󰤄"))) + "󰤄")) (button :onclick "hyprlock --immediate &" :tooltip "Lock" (box :style "color: #cfc9c2;" - (label :text ""))) + "")) (button :onclick "hyprctl dispatch exit" :tooltip "Log Out" (box :style "color: #7dcfff; padding-left: 0.3ex;" - (label :text ""))) + "")) (button :onclick "reboot" :tooltip "Reboot" (box :style "color: #e0af68;" - (label :text ""))) + "")) (button :onclick "poweroff" :tooltip "Shutdown" (box :style "color: #f7768e; font-size: 1.35em; padding-bottom: 0.15ex;" - (label :text "⏼")))) + "⏼"))) (box :orientation "h" (box) (box) (box) (box) @@ -284,7 +284,7 @@ (box :style "padding-right: 0.5ex; ${idleinhibit > 0 ? "color: #ff9e64" : "color: #565f89; padding-top: 0.3ex;"}" - (label :text {idleinhibit > 0 ? "󰈈" : "󰛑"}))))))) + {idleinhibit > 0 ? "󰈈" : "󰛑"})))))) ;; Separator @@ -293,7 +293,7 @@ (box :class "bar-sep" :hexpand false :vexpand false - (label :text "|"))) + "|")) ;; Bar Layout