Many changes
This commit is contained in:
51
modules/ncspot/colors.nix
Normal file
51
modules/ncspot/colors.nix
Normal file
@@ -0,0 +1,51 @@
|
||||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
options.custom.colors.ncspot = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.custom.colors.ncspot.enable {
|
||||
programs.ncspot.settings.theme = with config.custom.colors; {
|
||||
# Attempts to look kinda green like the official client
|
||||
|
||||
background = base00;
|
||||
primary = base04;
|
||||
secondary = base01;
|
||||
title = base0B; # green
|
||||
playing = base0B; # green
|
||||
playing_selected = base0C; # cyan
|
||||
playing_bg = base06;
|
||||
highlight = base04;
|
||||
highlight_bg = base02;
|
||||
error = base04;
|
||||
error_bg = base08;
|
||||
statusbar = base00;
|
||||
statusbar_progress = base0B;
|
||||
statusbar_bg = base0B;
|
||||
cmdline = base04;
|
||||
search_match = base0A;
|
||||
|
||||
# background = "black"
|
||||
# primary = "light white"
|
||||
# secondary = "light black"
|
||||
# title = "green"
|
||||
# playing = "green"
|
||||
# playing_selected = "light green"
|
||||
# playing_bg = "black"
|
||||
# highlight = "light white"
|
||||
# highlight_bg = "#484848"
|
||||
# error = "light white"
|
||||
# error_bg = "red"
|
||||
# statusbar = "black"
|
||||
# statusbar_progress = "green"
|
||||
# statusbar_bg = "green"
|
||||
# cmdline = "light white"
|
||||
# cmdline_bg = "black"
|
||||
# search_match = "light red"
|
||||
};
|
||||
};
|
||||
}
|
||||
14
modules/ncspot/home.nix
Normal file
14
modules/ncspot/home.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ pkgs, ... }: {
|
||||
imports = [ ./colors.nix ];
|
||||
|
||||
home.packages = [
|
||||
pkgs.ueberzugpp
|
||||
];
|
||||
|
||||
programs.ncspot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
cover_max_scale = 2;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user