sioyek: init (#2199)

Closes: https://github.com/nix-community/stylix/issues/2148
Link: https://github.com/nix-community/stylix/pull/2199

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
dastarruer 2026-02-19 17:23:23 -04:00 committed by GitHub
parent 1bc90aa37f
commit ec4d1ce9da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 59 additions and 0 deletions

View file

@ -113,6 +113,11 @@
matrix = "@danth:danth.me";
name = "Daniel Thwaites";
};
dastarruer = {
github = "dastarruer";
githubId = 173855353;
name = "dastarruer";
};
gideonwolfe = {
email = "wolfegideon@gmail.com";
github = "gideonwolfe";

31
modules/sioyek/hm.nix Normal file
View file

@ -0,0 +1,31 @@
{ mkTarget, lib, ... }:
mkTarget {
config =
{ colors }:
{
programs.sioyek.config = with colors.withHashtag; {
startup_commands = "toggle_custom_color";
background_color = base00;
text_highlight_color = base0A;
visual_mark_color = base02;
search_highlight_color = base0A;
link_highlight_color = base0D;
synctex_highlight_color = base0B;
highlight_color_a = base0A;
highlight_color_b = base0B;
highlight_color_c = base0D;
highlight_color_d = base08;
highlight_color_e = base0E;
highlight_color_f = base09;
highlight_color_g = base0A;
custom_background_color = base00;
custom_text_color = base05;
ui_text_color = base05;
ui_background_color = base01;
ui_selected_text_color = base05;
ui_selected_background_color = base02;
status_bar_color = base01;
status_bar_text_color = base05;
};
};
}

6
modules/sioyek/meta.nix Normal file
View file

@ -0,0 +1,6 @@
{ lib, ... }:
{
name = "Sioyek";
homepage = "https://sioyek.info";
maintainers = [ lib.maintainers.dastarruer ];
}

View file

@ -0,0 +1,17 @@
{ lib, pkgs, ... }:
let
package = pkgs.sioyek;
in
{
stylix.testbed.ui.application = {
name = "sioyek";
inherit package;
};
home-manager.sharedModules = lib.singleton {
programs.sioyek = {
enable = true;
inherit package;
};
};
}