Add simple eww example and eww-mode package for emacs

This commit is contained in:
Evie Litherland-Smith 2023-09-26 14:38:18 +01:00
parent 99693bceb8
commit 3b36d4e6b2
4 changed files with 23 additions and 0 deletions

View file

@ -4,3 +4,4 @@
(package! catppuccin-theme)
(package! pocket-reader)
(package! magit-delta)
(package! yuck-mode)

View file

View file

@ -0,0 +1,13 @@
(defwindow example
:monitor 0
:geometry (geometry :x "0%"
:y "20px"
:width "90%"
:height "30px"
:anchor "top center")
:stacking "overlay"
:reserve (struts :distance "40px" :side "top")
:windowtype "dock"
:wm-ignore false
:namespace eww-example
"example content")

View file

@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }:
{
programs.eww = {
enable = true;
package = pkgs.eww-wayland;
configDir = ./config;
};
}