feat(eww): add "Activate Linux" widget and assets

Add ".gitattributes" for LFS, update flake.nix, and include new eww widget, README, image, SCSS, and Yuck configuration.
This commit is contained in:
uttarayan21
2025-11-20 16:19:21 +05:30
parent 2ce14b1c70
commit 2ff867e6b6
7 changed files with 33 additions and 16 deletions

View File

@@ -1,19 +1,7 @@
{
pkgs,
device,
lib,
...
}: let
activate_linux = pkgs.fetchFromGitHub {
owner = "Nycta-b424b3c7";
repo = "eww_activate-linux";
rev = "master";
sha256 = "sha256-CHNkRYR4F9JGMrNubHu+XzkwwI3IHzh93nuS7/Plhe4=";
};
in {
{device, ...}: {
programs.eww = {
enable = device.is "ryu";
enableFishIntegration = true;
configDir = activate_linux;
configDir = ./eww;
};
}

View File

@@ -0,0 +1,5 @@
# "Activate Linux"
"Activate Linux" text for [Eww](https://github.com/elkowar/eww/)
![Activate Linux](activate-linux.png)

Binary file not shown.

View File

@@ -0,0 +1,7 @@
.activate-linux {
color: rgba(250, 250, 250, 0.5);
&.background {
background: none;
}
}

View File

@@ -0,0 +1,13 @@
(defwidget activate-linux []
(box
:orientation "v"
:halign "start"
:valign "start"
(label :xalign 50 :markup "<span font_size=\"large\">Activate Linux</span>")
(label :xalign 50 :text "Go to Settings to activate Linux")))
(defwindow activate-linux
:monitor 0
:stacking "fg"
:geometry (geometry :x "8px" :y "32px" :width "250px" :anchor "bottom right")
(activate-linux))