summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-06-13 18:33:04 -0700
committerBen Sima <ben@bsima.me>2018-06-13 18:33:04 -0700
commitac023a66a1291b903e85558c5006257823652158 (patch)
tree716727a26d062666abe5393065e80bdea2a0389b
parent3ee58100851a83523aa24ebbcad1c519fc6c4426 (diff)
Try to fix colors
When I exit vim, xterm has a white background. Dunno why. This doesn't seem to fix it either...
-rw-r--r--home.nix6
-rw-r--r--vim.nix4
2 files changed, 5 insertions, 5 deletions
diff --git a/home.nix b/home.nix
index d88ea58..8753206 100644
--- a/home.nix
+++ b/home.nix
@@ -3,10 +3,10 @@
let
solarized-xresources =
pkgs.fetchFromGitHub {
- owner = "solarized";
+ owner = "blueyed";
repo = "xresources";
- rev = "025ceddbddf55f2eb4ab40b05889148aab9699fc";
- sha256 = "0lxv37gmh38y9d3l8nbnsm1mskcv10g3i83j0kac0a2qmypv1k9f";
+ rev = "e74971bece803839afe310e8c1b4e21b6647d42a";
+ sha256 = "1bgd8avd469azalvyq68yq9k5a5g599jhcr4arqi6bi5vbnaq22b";
};
in
{
diff --git a/vim.nix b/vim.nix
index f458165..0a286a5 100644
--- a/vim.nix
+++ b/vim.nix
@@ -40,8 +40,8 @@ in
set mouse=a
""
"" https://github.com/lifepillar/vim-solarized8#troubleshooting
- "let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
- "let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
+ let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
+ let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
set termguicolors
"" Auto-switch theme
let hour = strftime("%H")