From 2ffd3b3551b2db94fc90b1af542e91f47afc1351 Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Fri, 10 Jan 2025 14:07:51 -0300 Subject: [PATCH] :lipstick: eww: add top-padding to floating bar-widgets --- eww/windows/calendar-window.yuck | 3 ++- eww/windows/floating-media.yuck | 3 ++- eww/windows/floating-notifications.yuck | 3 ++- eww/windows/hardware-monitor.yuck | 3 ++- eww/windows/volume-control.yuck | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/eww/windows/calendar-window.yuck b/eww/windows/calendar-window.yuck index 54a5d77..45a8f15 100644 --- a/eww/windows/calendar-window.yuck +++ b/eww/windows/calendar-window.yuck @@ -1,6 +1,7 @@ (defwindow calendar-window :monitor 0 - :geometry (geometry :anchor "top center") + :geometry (geometry :anchor "top center" + :y "5px") :stacking "fg" :exclusive false :namespace "eww-calendar" diff --git a/eww/windows/floating-media.yuck b/eww/windows/floating-media.yuck index 371cb50..c25ed6a 100644 --- a/eww/windows/floating-media.yuck +++ b/eww/windows/floating-media.yuck @@ -1,7 +1,8 @@ (defwindow floating-media [] :monitor 0 :geometry (geometry :anchor "top center" - :width "460px") + :width "460px" + :y "5px") :exclusive false :stacking "fg" :focusable false diff --git a/eww/windows/floating-notifications.yuck b/eww/windows/floating-notifications.yuck index 25c4fab..094028e 100644 --- a/eww/windows/floating-notifications.yuck +++ b/eww/windows/floating-notifications.yuck @@ -6,7 +6,8 @@ :geometry (geometry :anchor "top right" :width "512px" :height "1px" - :x "5px") + :x "5px" + :y "6px") :stacking "overlay" (box :class "floating-notifications" diff --git a/eww/windows/hardware-monitor.yuck b/eww/windows/hardware-monitor.yuck index 8ce9110..5a143e4 100644 --- a/eww/windows/hardware-monitor.yuck +++ b/eww/windows/hardware-monitor.yuck @@ -1,7 +1,8 @@ (defwindow hardware-monitor [] :monitor 0 :geometry (geometry :width "320" - :anchor "top right") + :anchor "top right" + :y "5px") :exclusive 0 :namespace "eww-hardware" diff --git a/eww/windows/volume-control.yuck b/eww/windows/volume-control.yuck index 2c61f00..c7ec1da 100644 --- a/eww/windows/volume-control.yuck +++ b/eww/windows/volume-control.yuck @@ -6,7 +6,8 @@ :namespace "eww-volume" :geometry (geometry :anchor "top right" :width "280px" - :x "6px") + :x "6px" + :y "5px") :exclusive false :stacking "overlay" :focusable false