refactor(pkgs): use haumea for automatic callPackage
30
pkgs/fcitx5-lightly/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "fcitx5-lightly";
|
||||
version = "unstable";
|
||||
|
||||
src = ./lightly;
|
||||
|
||||
phases = [
|
||||
"unpackPhase"
|
||||
"installPhase"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fcitx5/themes/lightly
|
||||
cp -r * $out/share/fcitx5/themes/lightly
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "lightly-qt fcitx5 theme (generated by fcitx5 plasma theme)";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
BIN
pkgs/fcitx5-lightly/lightly/arrow.png
Normal file
|
After Width: | Height: | Size: 177 B |
BIN
pkgs/fcitx5-lightly/lightly/highlight.png
Normal file
|
After Width: | Height: | Size: 777 B |
BIN
pkgs/fcitx5-lightly/lightly/line.png
Normal file
|
After Width: | Height: | Size: 93 B |
BIN
pkgs/fcitx5-lightly/lightly/mask.png
Normal file
|
After Width: | Height: | Size: 630 B |
BIN
pkgs/fcitx5-lightly/lightly/next.png
Normal file
|
After Width: | Height: | Size: 204 B |
BIN
pkgs/fcitx5-lightly/lightly/panel.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
pkgs/fcitx5-lightly/lightly/prev.png
Normal file
|
After Width: | Height: | Size: 226 B |
BIN
pkgs/fcitx5-lightly/lightly/radio.png
Normal file
|
After Width: | Height: | Size: 597 B |
98
pkgs/fcitx5-lightly/lightly/theme.conf
Normal file
@@ -0,0 +1,98 @@
|
||||
[Metadata]
|
||||
Name=Light
|
||||
Version=1
|
||||
Author=Fcitx
|
||||
Description="从 Plasma 主题 lightly 生成的主题"
|
||||
|
||||
[InputPanel]
|
||||
NormalColor=#282a2f
|
||||
HighlightCandidateColor=#282a2f
|
||||
HighlightColor=#eff0f1
|
||||
HighlightBackgroundColor=#526f95
|
||||
BlurMask=mask.png
|
||||
EnableBlur=True
|
||||
|
||||
[InputPanel/ContentMargin]
|
||||
Left=14
|
||||
Top=14
|
||||
Right=14
|
||||
Bottom=14
|
||||
|
||||
[InputPanel/ShadowMargin]
|
||||
Left=10
|
||||
Top=10
|
||||
Right=10
|
||||
Bottom=10
|
||||
|
||||
[InputPanel/Background]
|
||||
Image=panel.png
|
||||
|
||||
[InputPanel/Background/Margin]
|
||||
Left=14
|
||||
Top=14
|
||||
Right=14
|
||||
Bottom=14
|
||||
|
||||
[InputPanel/Highlight]
|
||||
Image=highlight.png
|
||||
|
||||
[InputPanel/Highlight/Margin]
|
||||
Left=4
|
||||
Top=4
|
||||
Right=4
|
||||
Bottom=4
|
||||
|
||||
[InputPanel/TextMargin]
|
||||
Left=4
|
||||
Top=7
|
||||
Right=4
|
||||
Bottom=7
|
||||
|
||||
[InputPanel/PrevPage]
|
||||
Image=prev.png
|
||||
|
||||
[InputPanel/NextPage]
|
||||
Image=next.png
|
||||
|
||||
[Menu]
|
||||
Spacing=2.500000
|
||||
|
||||
[Menu/ContentMargin]
|
||||
Left=14
|
||||
Top=14
|
||||
Right=14
|
||||
Bottom=14
|
||||
|
||||
[Menu/Background]
|
||||
Image=panel.png
|
||||
|
||||
[Menu/Background/Margin]
|
||||
Left=14
|
||||
Top=14
|
||||
Right=14
|
||||
Bottom=14
|
||||
|
||||
[Menu/Highlight]
|
||||
Image=highlight.png
|
||||
|
||||
[Menu/Highlight/Margin]
|
||||
Left=4
|
||||
Top=4
|
||||
Right=4
|
||||
Bottom=4
|
||||
|
||||
[Menu/TextMargin]
|
||||
Left=4
|
||||
Top=4
|
||||
Right=4
|
||||
Bottom=4
|
||||
|
||||
[Menu/SubMenu]
|
||||
Image=arrow.png
|
||||
|
||||
[Menu/CheckBox]
|
||||
Image=radio.png
|
||||
|
||||
[Menu/Separator]
|
||||
Image=line.png
|
||||
|
||||