From 2c820606e4db41733eaf7b8ee6b88d198308aa3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 24 Aug 2019 10:53:31 +0100 Subject: [PATCH] Switch to termite --- nixos/home.nix | 4 +-- nixos/programs/termite.nix | 64 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 nixos/programs/termite.nix diff --git a/nixos/home.nix b/nixos/home.nix index a627be1b..f2012f5d 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -28,7 +28,7 @@ in slack discord obs-studio kpcli ]; home.sessionVariables = { - TERMINAL="alacritty"; + TERMINAL="termite"; CM_LAUNCHER="rofi"; }; @@ -36,7 +36,7 @@ in ./programs/tmux.nix ./programs/zsh.nix ./programs/vim.nix - ./programs/alacritty.nix + ./programs/termite.nix ./programs/git.nix ./user-xsession.nix ]; diff --git a/nixos/programs/termite.nix b/nixos/programs/termite.nix new file mode 100644 index 00000000..48e8f519 --- /dev/null +++ b/nixos/programs/termite.nix @@ -0,0 +1,64 @@ +{ config, pkgs, ... }: +{ + programs.termite = { + enable = true; + allowBold = true; + audibleBell = false; + clickableUrl = true; + dynamicTitle = true; + mouseAutohide = true; + scrollOnKeystroke = false; + font = "Fira Code 12"; + optionsExtra = '' + [colors] +# Base16 Solarized Dark +# Author: Ethan Schoonover (modified by aramisgithub) + +foreground = #93a1a1 +foreground_bold = #eee8d5 +cursor = #eee8d5 +cursor_foreground = #002b36 +background = rgba(0, 43, 54) + +# 16 color space + +# Black, Gray, Silver, White +color0 = #002b36 +color8 = #657b83 +color7 = #93a1a1 +color15 = #fdf6e3 + +# Red +color1 = #dc322f +color9 = #dc322f + +# Green +color2 = #859900 +color10 = #859900 + +# Yellow +color3 = #b58900 +color11 = #b58900 + +# Blue +color4 = #268bd2 +color12 = #268bd2 + +# Purple +color5 = #6c71c4 +color13 = #6c71c4 + +# Teal +color6 = #2aa198 +color14 = #2aa198 + +# Extra colors +color16 = #cb4b16 +color17 = #d33682 +color18 = #073642 +color19 = #586e75 +color20 = #839496 +color21 = #eee8d5 + ''; + }; +}