Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions modules/wayprompt/hm.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ config, lib, ... }:
let
c = color: "0x${color}";
cfg = config.stylix.targets.wayprompt;
in
{
options.stylix.targets.wayprompt.enable = config.lib.stylix.mkEnableTarget "wayprompt" true;

config = lib.mkIf (config.stylix.enable && cfg.enable) {
programs.wayprompt.settings.colours = with config.lib.stylix.colors; {
background = c base00;
Comment thread
nukdokplex marked this conversation as resolved.
Outdated
border = c base0D;
text = c base05;
error-text = c base08;

pin-background = c base01;
pin-border = c base05;
pin-square = c base05;

ok-button = c base0B; # green
Comment thread
nukdokplex marked this conversation as resolved.
Outdated
ok-button-border = c base05;
ok-button-text = c base00;

not-ok-button = c base0A; # yellow
not-ok-button-border = c base05;
not-ok-button-text = c base00;

cancel-button = c base08; # red
cancel-button-border = c base05;
cancel-button-text = c base00;
};
};
}
5 changes: 5 additions & 0 deletions modules/wayprompt/meta.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{ lib, ... }:
{
maintainers = [ lib.maintainers.nukdokplex ];
name = "wayprompt";
}
Comment thread
nukdokplex marked this conversation as resolved.
Outdated
9 changes: 9 additions & 0 deletions stylix/maintainers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@
{ fingerprint = "36BC 916D DD4E B1EE EE82 4BBF DC95 900F 6DA7 9992"; }
];
};
nukdokplex = {
email = "nukdokplex@nukdokplex.ru";
name = "Viktor Titov";
github = "nukdokplex";
githubId = 25458915;
keys = [
{ fingerprint = "3C97 1C61 0E9E BE35 3259 C1D3 2CA7 0354 EA17 07B9"; }
];
};
repparw = {
email = "ubritos@gmail.com";
name = "Ulises Britos";
Expand Down