aboutsummaryrefslogtreecommitdiff
path: root/user/home
diff options
context:
space:
mode:
Diffstat (limited to 'user/home')
-rw-r--r--user/home/kakoune/colors/nord.kak112
-rw-r--r--user/home/kakoune/colors/rose-pine.kak (renamed from user/home/kakoune/rose-pine.kak)0
-rw-r--r--user/home/kakoune/default.nix5
-rw-r--r--user/home/vencord/default.nix2
4 files changed, 117 insertions, 2 deletions
diff --git a/user/home/kakoune/colors/nord.kak b/user/home/kakoune/colors/nord.kak
new file mode 100644
index 0000000..55bcf52
--- /dev/null
+++ b/user/home/kakoune/colors/nord.kak
@@ -0,0 +1,112 @@
+# Nord Theme
+# https://www.nordtheme.com/docs/colors-and-palettes
+
+evaluate-commands %sh{
+ # Polar Night (black)
+ nord0="rgb:2e3440"
+ nord1="rgb:3b4252"
+ nord2="rgb:434c5e"
+ nord3="rgb:4c566a"
+ nord3_bright="rgb:616e88"
+ # Snow Storm (white)
+ nord4="rgb:d8dee9"
+ nord5="rgb:e5e9f0"
+ nord6="rgb:eceff4"
+ # Frost (blue/green)
+ nord7="rgb:8fbcbb"
+ nord8="rgb:88c0d0"
+ nord9="rgb:81a1c1"
+ nord10="rgb:5e81ac"
+ # Aurora
+ nord11="rgb:bf616a" # red
+ nord12="rgb:d08770" # orange
+ nord13="rgb:ebcb8b" # yellow
+ nord14="rgb:a3be8c" # green
+ nord15="rgb:b48ead" # purple
+
+ # Code highlighting
+ echo "
+ face global variable ${nord4}
+ face global Default ${nord5},${nord0}
+ face global builtin ${nord6}+b
+ face global type ${nord7}
+ face global function ${nord8}
+ face global keyword ${nord9}
+ face global meta ${nord9}
+ face global attribute ${nord12}
+ face global module ${nord13}
+ face global string ${nord14}
+ face global value ${nord15}
+ "
+
+ # comments are brighter since they're hard to see against the cursorline
+ echo "face global comment ${nord3_bright}+i"
+
+ # cursor/selection text is always black
+ # backgrounds use Snow Storm for the primary cursor
+ # and Frost for secondary elements
+ echo "
+ face global PrimaryCursor ${nord0},${nord4}+Bfg
+ face global PrimarySelection ${nord0},${nord8}+g
+ face global SecondaryCursor ${nord0},${nord9}+fg
+ face global SecondarySelection ${nord0},${nord10}+g
+ "
+
+ # current line's number is white and matches the cursorline
+ # other line's numbers are grey like comments
+ echo "
+ face global LineNumbers ${nord3_bright}+b
+ face global LineNumberCursor ${nord4},${nord2}+b
+ "
+
+ # marks a soft-wrap in yellow
+ echo "face global LineNumbersWrapped ${nord13},${nord1}"
+ echo "face global WrapMarker ${nord13}+f"
+
+
+ # selected element in menus
+ echo "face global MenuForeground ${nord0},${nord8}+b"
+
+ # non-selected element(s) in menus
+ echo "face global MenuBackground default,${nord1}"
+
+ # additional info in menus, like autocompletion source
+ echo "face global MenuInfo default+iu"
+
+
+ # bottom status line / prompt
+ # not used much since we have powerline
+ echo "face global StatusLine ${nord4},${nord1}"
+ # tells you what mode you're using (besides normal)
+ echo "face global StatusLineMode ${nord0},${nord7}+b"
+ # special info
+ echo "face global StatusLineInfo ${nord4}+b"
+ # special values
+ echo "face global StatusLineValue ${nord8}+i"
+
+ echo "face global StatusCursor ${nord0},${nord4}"
+ echo "face global Prompt default"
+ echo "face global Whitespace ${nord10},${nord1}+f"
+
+ # not really sure what this line does...
+ echo "face global MatchingChar blue,red+F"
+
+ # extra padding at the end of a buffer (file)
+ echo "face global BufferPadding default,${nord3}"
+
+ # general information, like Clippy
+ echo "face global Information default,${nord1}"
+ echo "face global Error ${nord4},${nord11}"
+
+ # Markup
+ echo "face global title ${nord8},${nord1}+b"
+ echo "face global header ${nord7},${nord1}+b"
+ echo "face global bold default,default+ba"
+ echo "face global mono ${nord10}"
+ echo "face global block ${nord13}"
+ echo "face global Italic default,default+ia"
+ echo "face global Underline default,default+ufa"
+ echo "face global link ${nord8}+u"
+ echo "face global bullet ${nord12}"
+ echo "face global list ${nord14}"
+}
diff --git a/user/home/kakoune/rose-pine.kak b/user/home/kakoune/colors/rose-pine.kak
index 0c96095..0c96095 100644
--- a/user/home/kakoune/rose-pine.kak
+++ b/user/home/kakoune/colors/rose-pine.kak
diff --git a/user/home/kakoune/default.nix b/user/home/kakoune/default.nix
index f5dea88..54c3f0f 100644
--- a/user/home/kakoune/default.nix
+++ b/user/home/kakoune/default.nix
@@ -67,5 +67,8 @@
];
};
- xdg.configFile."kak/colors/rose-pine.kak".source = ./rose-pine.kak;
+ xdg.configFile."kak/colors" = {
+ recursive = true;
+ source = ./colors;
+ };
}
diff --git a/user/home/vencord/default.nix b/user/home/vencord/default.nix
index d6e98a5..b96d4b1 100644
--- a/user/home/vencord/default.nix
+++ b/user/home/vencord/default.nix
@@ -8,7 +8,7 @@
};
settings = {
- enabledThemes = [];
+ enabledThemes = [ ];
plugins = {
AlwaysExpandRoles.enabled = true;
MessageLogger.enabled = true;