aboutsummaryrefslogtreecommitdiff
path: root/modules/home
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2024-05-11 22:15:25 -0700
committerCaroline Larimore <caroline@larimo.re>2024-05-11 22:17:55 -0700
commit7a9ecd89c83a682bd69fa675e54084453d187d37 (patch)
tree442b2d43beb1f63291c26164e7315bda625af79b /modules/home
parent682db9b32f274424c7364880c6d1be625849b259 (diff)
Add additional position to EWW music widget
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/eww.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/home/eww.nix b/modules/home/eww.nix
index 850fc9b..e8b732f 100644
--- a/modules/home/eww.nix
+++ b/modules/home/eww.nix
@@ -47,7 +47,6 @@
color: @fg;
background-color: @bg;
border: 2px solid @bg1;
- border-bottom: none;
}
.main {
@@ -98,8 +97,8 @@
(defwindow music [pos]
:monitor 0
:geometry (geometry
- :x { pos == "right" ? "2px" : "0px" }
- :y "0px"
+ :x { pos == "right" ? "-8px" : "0px" }
+ :y { pos == "right" ? "-8px" : "2px" }
:height {128 + 16}
:anchor { pos == "right" ? "bottom right" : "bottom center" }
)