about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2020-05-07 23:55:51 +0200
committeraszlig <aszlig@nix.build>2020-05-07 23:55:51 +0200
commit7faaaab0af1e30bdfb72eca02abdfe92efefe4e0 (patch)
treee6e38aa0a6e8affa2ab4a24e2d52bf6c02d76358
parent64fdbcc7e0949a3d3bf1cee3361d5ebe5c56cc4c (diff)
profiles/workstation: Set XTerm colours to 256
So far I've been fine with just everything using 16 colours, but since
I'm even using 256 colours in my own ASCII art spriting engine I think I
can safely enter the 90ies and get some more colours.

Of course, the XTerm version I'm using is already supporting 256 colors,
it's just that the terminfo entry doesn't say so.

Signed-off-by: aszlig <aszlig@nix.build>
-rw-r--r--modules/user/aszlig/profiles/workstation/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/aszlig/profiles/workstation/default.nix b/modules/user/aszlig/profiles/workstation/default.nix
index bbbbf919..862962db 100644
--- a/modules/user/aszlig/profiles/workstation/default.nix
+++ b/modules/user/aszlig/profiles/workstation/default.nix
@@ -162,6 +162,7 @@ in {
         displayManager.defaultSession = "none+i3";
         displayManager.sessionCommands = ''
           ${pkgs.xorg.xrdb}/bin/xrdb "${pkgs.writeText "xrdb.config" ''
+            XTerm*termName:            xterm-256color
             XTerm*font:                vga
             XTerm*saveLines:           10000
             XTerm*bellIsUrgent:        true