Reformat to Student config

This commit is contained in:
venomade committed 2026-08-16 22:50:18 +01:00
1 parent 28ebd8999d
commit 94b73b6d67
91 files changed
+785 -6603

No files matched your search

+89
View File
@@ -0,0 +1,89 @@
{ config, lib, ... }:
let
c = config.colorScheme.palette;
rgb = hex: "rgb:${lib.toLower hex}";
in
{
xdg.configFile."kak/colors/nix-colorscheme.kak".text = ''
declare-option str bg_main '${rgb c.base00}'
declare-option str fg_main '${rgb c.base05}'
declare-option str bg_dim '${rgb c.base01}'
declare-option str fg_dim '${rgb c.base03}'
declare-option str bg_alt '${rgb c.base02}'
declare-option str fg_alt '${rgb c.base04}'
declare-option str bg_active '${rgb c.base02}'
declare-option str bg_inactive '${rgb c.base01}'
declare-option str red '${rgb c.base08}'
declare-option str red_bright '${rgb c.base08}'
declare-option str green '${rgb c.base0B}'
declare-option str green_bright '${rgb c.base0B}'
declare-option str yellow '${rgb c.base0A}'
declare-option str yellow_bright '${rgb c.base0A}'
declare-option str blue '${rgb c.base0D}'
declare-option str blue_bright '${rgb c.base0D}'
declare-option str purple '${rgb c.base0E}'
declare-option str purple_bright '${rgb c.base0E}'
declare-option str bg_mode_line '${rgb c.base07}'
declare-option str fg_mode_line '${rgb c.base06}'
declare-option str cursor '${rgb c.base0B}'
declare-option str bg_hl_line '${rgb c.base01}'
declare-option str fg_space '${rgb c.base03}'
declare-option str psel '${rgb c.base02}'
declare-option str ssel '${rgb c.base01}'
# For code
set-face global value '${rgb c.base05}'
set-face global type '${rgb c.base0D}'
set-face global variable '${rgb c.base0C}'
set-face global keyword '${rgb c.base0B}'
set-face global module '${rgb c.base05}'
set-face global function '${rgb c.base0A}'
set-face global string '${rgb c.base08}'
set-face global builtin '${rgb c.base0B}'
set-face global constant '${rgb c.base0B}'
set-face global comment '${rgb c.base0F}'
set-face global meta '${rgb c.base08}'
set-face global operator '${rgb c.base05}'
set-face global comma '${rgb c.base05}'
set-face global bracket '${rgb c.base0C}'
# For markup
set-face global title "%opt{purple}"
set-face global header "%opt{yellow_bright}"
set-face global bold "%opt{purple}"
set-face global italic "%opt{purple_bright}"
set-face global mono "%opt{green}"
set-face global block "%opt{blue_bright}"
set-face global link "%opt{green}"
set-face global bullet "%opt{green}"
set-face global list "%opt{fg_main}"
# Builtin faces
set-face global Default "%opt{fg_main},%opt{bg_main}"
set-face global PrimarySelection "default,%opt{psel}"
set-face global SecondarySelection "default,%opt{ssel}"
set-face global PrimaryCursor "%opt{bg_main},%opt{cursor}"
set-face global SecondaryCursor "%opt{bg_main},%opt{fg_alt}"
set-face global PrimaryCursorEol "%opt{bg_main},%opt{red_bright}"
set-face global SecondaryCursorEol "%opt{bg_main},%opt{blue}"
set-face global LineNumbers "%opt{fg_dim},%opt{bg_main}"
set-face global LineNumberCursor "%opt{fg_alt},%opt{bg_main}+b"
set-face global LineNumbersWrapped "%opt{bg_dim},%opt{bg_main}+i"
set-face global MenuForeground "%opt{bg_main},%opt{fg_main}+b"
set-face global MenuBackground "%opt{fg_main},%opt{bg_alt}"
set-face global MenuInfo "%opt{fg_alt},%opt{bg_alt}"
set-face global Information "%opt{fg_mode_line},%opt{bg_mode_line}"
set-face global Error "%opt{red},%opt{bg_mode_line}"
set-face global StatusLine "%opt{fg_mode_line},%opt{bg_mode_line}"
set-face global StatusLineMode "%opt{fg_mode_line},%opt{bg_mode_line}"
set-face global StatusLineInfo "%opt{fg_mode_line},%opt{bg_mode_line}"
set-face global StatusLineValue "%opt{fg_mode_line},%opt{bg_mode_line}"
set-face global StatusCursor "%opt{fg_main},%opt{blue}"
set-face global Prompt "%opt{fg_mode_line},%opt{bg_mode_line}"
set-face global MatchingChar "%opt{blue},%opt{bg_main}"
set-face global Whitespace "%opt{fg_space},%opt{bg_main}+f"
set-face global WrapMarker Whitespace
set-face global BufferPadding "%opt{bg_main},%opt{bg_main}"
'';
}