1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-05 00:21:04 +01:00
home-manager/tests/modules/programs/inori/full-config.nix
2025-04-19 09:05:58 -05:00

59 lines
1.2 KiB
Nix

{
config = {
programs.inori = {
enable = true;
settings = {
seek_seconds = 10;
dvorak_keybindings = true;
keybindings = {
toggle_playpause = [
"p"
"<space>"
];
next_song = [
">"
"C-n"
];
previous_song = [
"<"
"C-p"
];
seek = "<right>";
seek_backwards = "<left>";
up = "k";
down = "j";
left = "h";
right = "l";
top = [
"g g"
"<home>"
];
bottom = [
"G"
"<end>"
];
quit = [
"<escape>"
"q"
];
};
theme = {
status_artist.fg = "#fab387";
status_album.fg = "#89b4fa";
status_title = {
fg = "#cba6f7";
add_modifier = "BOLD";
};
album.fg = "#89b4fa";
playing.fg = "#a6e3a1";
};
};
};
nmt.script = ''
assertFileExists home-files/.config/inori/config.toml
assertFileContent home-files/.config/inori/config.toml ${./full-config.toml}
'';
};
}