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:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
5
home/services/eww/README.md
Normal file
5
home/services/eww/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# "Activate Linux"
|
||||
|
||||
"Activate Linux" text for [Eww](https://github.com/elkowar/eww/)
|
||||
|
||||

|
||||
BIN
home/services/eww/activate-linux.png
LFS
Normal file
BIN
home/services/eww/activate-linux.png
LFS
Normal file
Binary file not shown.
7
home/services/eww/eww.scss
Normal file
7
home/services/eww/eww.scss
Normal file
@@ -0,0 +1,7 @@
|
||||
.activate-linux {
|
||||
color: rgba(250, 250, 250, 0.5);
|
||||
|
||||
&.background {
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
13
home/services/eww/eww.yuck
Normal file
13
home/services/eww/eww.yuck
Normal 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))
|
||||
Reference in New Issue
Block a user