mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-24 17:23:09 +01:00
meta: Add eww module
This commit is contained in:
parent
25539d81eb
commit
5739a3eaba
8
assets/eww/eww.scss
Normal file
8
assets/eww/eww.scss
Normal file
@ -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;
|
||||||
|
}
|
8
assets/eww/eww.yuck
Normal file
8
assets/eww/eww.yuck
Normal file
@ -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)
|
9
home/eww.nix
Normal file
9
home/eww.nix
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.eww = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.eww-wayland;
|
||||||
|
configDir = ../assets/eww;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user