diff --git a/assets/eww/eww.scss b/assets/eww/eww.scss new file mode 100644 index 00000000..edee3710 --- /dev/null +++ b/assets/eww/eww.scss @@ -0,0 +1,8 @@ +.overlay { + background: transparent; + color: #f8f8f2; + font-weight: bold; + text-shadow: 0 0 0.075em #272822; + font-size: 32px; + opacity: 0.1; +} diff --git a/assets/eww/eww.yuck b/assets/eww/eww.yuck new file mode 100644 index 00000000..4fa665f1 --- /dev/null +++ b/assets/eww/eww.yuck @@ -0,0 +1,8 @@ +(defpoll time :interval "1s" + "date '+%H:%M'") + +(defwindow overlay + :monitor 0 + :geometry (geometry :y "4px" :x "8px" :anchor "bottom right") + :stacking "fg" + time) diff --git a/home/eww.nix b/home/eww.nix new file mode 100644 index 00000000..67ea2096 --- /dev/null +++ b/home/eww.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: + +{ + programs.eww = { + enable = true; + package = pkgs.eww-wayland; + configDir = ../assets/eww; + }; +}