This commit is contained in:
2024-05-10 14:52:56 +02:00
parent e5cd70ffa5
commit f02953fe05
19 changed files with 632 additions and 13 deletions

View File

@@ -0,0 +1,10 @@
{ pkgs, config, ... }:
{
home.packages = with pkgs; [ eww ];
xdg.configFile."eww" = {
recursive = true;
source = ./eww;
};
}

View File

View File

@@ -0,0 +1,20 @@
(defwindow example
:monitor 0
:geometry (geometry :x "0%"
:y "0px"
:width "100%"
:height "25px"
:anchor "top center")
:stacking "fg"
:reserve (struts :distance "20px" :side "top")
:windowtype "dock"
:wm-ignore false
(greeter :text "Say hello!"
:name "Tim"))
(defwidget greeter [?text name]
(box :orientation "horizontal"
:halign "center"
text
(button :onclick "notify-send 'Hello' 'Hello, ${name}'"
"Greet")))

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 MiB