diff options
Diffstat (limited to 'modules/home/eww.nix')
| -rw-r--r-- | modules/home/eww.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/home/eww.nix b/modules/home/eww.nix index 3be22ea..850fc9b 100644 --- a/modules/home/eww.nix +++ b/modules/home/eww.nix @@ -95,13 +95,13 @@ ''; xdg.configFile."eww/eww.yuck".text = '' - (defwindow music + (defwindow music [pos] :monitor 0 :geometry (geometry - :x "0px" + :x { pos == "right" ? "2px" : "0px" } :y "0px" :height {128 + 16} - :anchor "bottom center" + :anchor { pos == "right" ? "bottom right" : "bottom center" } ) :stacking "fg" :windowtype "dock" |