kitty, neofetch config
This commit is contained in:
parent
cec464a911
commit
4667124651
@ -7,9 +7,9 @@
|
||||
grep = "grep --color";
|
||||
};
|
||||
profileExtra = ''
|
||||
SHELL="$BASH"
|
||||
set -o vi
|
||||
bind "set show-mode-in-prompt on"
|
||||
[ ! -z $TMUX ] || tmux a || tmux
|
||||
neofetch
|
||||
'';
|
||||
};
|
||||
|
8
home.nix
8
home.nix
@ -10,11 +10,11 @@ in
|
||||
./direnv
|
||||
./git
|
||||
./htop
|
||||
./iterm2
|
||||
./kitty
|
||||
./neofetch
|
||||
./nvim
|
||||
./powerline
|
||||
./readline
|
||||
./tmux
|
||||
];
|
||||
|
||||
# Home Manager Config
|
||||
@ -27,6 +27,8 @@ in
|
||||
home.packages = with pkgs; [
|
||||
(nerdfonts.override { fonts = [ "Meslo" ]; })
|
||||
bashInteractive
|
||||
google-cloud-sdk
|
||||
imagemagick
|
||||
htop
|
||||
k9s
|
||||
kubectl
|
||||
@ -35,7 +37,7 @@ in
|
||||
python311
|
||||
tldr
|
||||
] ++ optionals isDarwin [
|
||||
iterm2
|
||||
kitty
|
||||
] ++ optionals isLinux [ ];
|
||||
|
||||
# Misc Programs
|
||||
|
File diff suppressed because it is too large
Load Diff
67
kitty/config/kitty.conf
Normal file
67
kitty/config/kitty.conf
Normal file
@ -0,0 +1,67 @@
|
||||
# -------------------------------------------------------
|
||||
# ------------------ Generic Settings -------------------
|
||||
# -------------------------------------------------------
|
||||
|
||||
font_family MesloLGM Nerd Font Mono
|
||||
font_size 20.0
|
||||
hide_window_decorations yes
|
||||
shell /Users/evanreichard/.nix-profile/bin/bash --login
|
||||
tab_bar_style powerline
|
||||
|
||||
# -------------------------------------------------------
|
||||
# ----------------------- Hotkeys -----------------------
|
||||
# -------------------------------------------------------
|
||||
|
||||
map cmd+1 goto_tab 1
|
||||
map cmd+2 goto_tab 2
|
||||
map cmd+3 goto_tab 3
|
||||
map cmd+4 goto_tab 4
|
||||
map cmd+5 goto_tab 5
|
||||
map cmd+6 goto_tab 6
|
||||
map cmd+7 goto_tab 7
|
||||
map cmd+8 goto_tab 8
|
||||
map cmd+9 goto_tab 9
|
||||
|
||||
# -------------------------------------------------------
|
||||
# ------------------ Nord Color Scheme ------------------
|
||||
# -------------------------------------------------------
|
||||
|
||||
foreground #D8DEE9
|
||||
background #2E3440
|
||||
selection_foreground #000000
|
||||
selection_background #FFFACD
|
||||
url_color #0087BD
|
||||
cursor #81A1C1
|
||||
|
||||
# Black
|
||||
color0 #3B4252
|
||||
color8 #4C566A
|
||||
|
||||
# Red
|
||||
color1 #BF616A
|
||||
color9 #BF616A
|
||||
|
||||
# Green
|
||||
color2 #A3BE8C
|
||||
color10 #A3BE8C
|
||||
|
||||
# Yellow
|
||||
color3 #EBCB8B
|
||||
color11 #EBCB8B
|
||||
|
||||
# Blue
|
||||
color4 #81A1C1
|
||||
color12 #81A1C1
|
||||
|
||||
# Magenta
|
||||
color5 #B48EAD
|
||||
color13 #B48EAD
|
||||
|
||||
# Cyan
|
||||
color6 #88C0D0
|
||||
color14 #8FBCBB
|
||||
|
||||
# White
|
||||
color7 #E5E9F0
|
||||
color15 #ECEFF4
|
||||
43 lines yanked
|
@ -5,8 +5,8 @@ let
|
||||
in
|
||||
{
|
||||
xdg.configFile = mkIf isDarwin {
|
||||
"iterm2/com.googlecode.iterm2.plist" = {
|
||||
source = ./config/com.googlecode.iterm2.plist;
|
||||
"kitty/kitty.conf" = {
|
||||
source = ./config/kitty.conf;
|
||||
};
|
||||
};
|
||||
}
|
124
neofetch/config/config.conf
Normal file
124
neofetch/config/config.conf
Normal file
@ -0,0 +1,124 @@
|
||||
print_info() {
|
||||
prin ""
|
||||
prin "Hardware Information"
|
||||
info " " model
|
||||
info " " cpu
|
||||
info "ﳔ " memory
|
||||
info " " resolution
|
||||
prin ""
|
||||
prin "Software Information"
|
||||
info " " distro
|
||||
info " " kernel
|
||||
info " " term
|
||||
info " " term_font
|
||||
info " " packages
|
||||
prin ""
|
||||
prin "\n \n \n ${cl3} \n \n ${cl5} \n \n ${cl2} \n \n ${cl6} \n \n ${cl4} \n \n ${cl1} \n \n ${cl7} \n \n ${cl0}"
|
||||
}
|
||||
|
||||
# Details
|
||||
kernel_shorthand="on"
|
||||
distro_shorthand="tiny"
|
||||
os_arch="on"
|
||||
uptime_shorthand="on"
|
||||
memory_percent="on"
|
||||
package_managers="on"
|
||||
shell_path="off"
|
||||
shell_version="on"
|
||||
memory_percent="off"
|
||||
|
||||
# CPU
|
||||
speed_type="bios_limit"
|
||||
speed_shorthad="on"
|
||||
cpu_brand="on"
|
||||
cpu_speed="off"
|
||||
cpu_cores="off"
|
||||
cpu_temp="off"
|
||||
|
||||
# GPU
|
||||
gpu_brand="on"
|
||||
gpu_type="dedicated"
|
||||
refresh_rate="on"
|
||||
|
||||
# Theme
|
||||
gtk_shorthand="on"
|
||||
gtk2="on"
|
||||
gtk3="on"
|
||||
|
||||
# IP
|
||||
public_ip_host="http://ident.me"
|
||||
public_ip_timeout=2
|
||||
|
||||
# Disk
|
||||
disk_show=('/')
|
||||
|
||||
# Text
|
||||
colors=(distro)
|
||||
bold="on"
|
||||
underline_enabled="on"
|
||||
underline_char="-"
|
||||
separator=" "
|
||||
|
||||
# Color Blocks
|
||||
block_height=1
|
||||
block_range=(1 7)
|
||||
block_width=4
|
||||
color_blocks="on"
|
||||
|
||||
# Colors for custom colorblocks
|
||||
magenta="\033[1;35m"
|
||||
green="\033[1;32m"
|
||||
white="\033[1;37m"
|
||||
blue="\033[1;34m"
|
||||
red="\033[1;31m"
|
||||
black="\033[1;40;30m"
|
||||
yellow="\033[1;33m"
|
||||
cyan="\033[1;36m"
|
||||
reset="\033[0m"
|
||||
bgyellow="\033[1;43;33m"
|
||||
bgwhite="\033[1;47;37m"
|
||||
cl0="${reset}"
|
||||
cl1="${magenta}"
|
||||
cl2="${green}"
|
||||
cl3="${white}"
|
||||
cl4="${blue}"
|
||||
cl5="${red}"
|
||||
cl6="${yellow}"
|
||||
cl7="${cyan}"
|
||||
cl8="${black}"
|
||||
cl9="${bgyellow}"
|
||||
cl10="${bgwhite}"
|
||||
|
||||
# Progress Bars
|
||||
bar_char_elapsed="-"
|
||||
bar_char_total="="
|
||||
bar_border="on"
|
||||
bar_length=15
|
||||
bar_color_elapsed="distro"
|
||||
bar_color_total="distro"
|
||||
|
||||
# Info display
|
||||
cpu_display="on"
|
||||
memory_display="on"
|
||||
battery_display="on"
|
||||
disk_display="on"
|
||||
|
||||
# Backend Settings
|
||||
image_backend="ascii"
|
||||
ascii_distro="auto"
|
||||
ascii_colors=(distro)
|
||||
ascii_bold="on"
|
||||
|
||||
# Image Options
|
||||
image_loop="off"
|
||||
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
|
||||
crop_mode="fit"
|
||||
crop_offset="center"
|
||||
image_size="auto"
|
||||
gap=2
|
||||
yoffset=0
|
||||
xoffset=0
|
||||
background_color=
|
||||
|
||||
# Misc Options
|
||||
stdout="off"
|
8
neofetch/default.nix
Normal file
8
neofetch/default.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
xdg.configFile = {
|
||||
"neofetch/config.conf" = {
|
||||
source = ./config/config.conf;
|
||||
};
|
||||
};
|
||||
}
|
@ -82,6 +82,23 @@ in
|
||||
}
|
||||
)
|
||||
|
||||
# ------------------
|
||||
# ------ Duck ------
|
||||
# ------------------
|
||||
# (
|
||||
# pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||
# pname = "duck.nvim";
|
||||
# version = "2022-12-06";
|
||||
# src = pkgs.fetchFromGitHub {
|
||||
# owner = "tamton-aquib";
|
||||
# repo = "duck.nvim";
|
||||
# rev = "b1a3b4e52eec886bf4ce5ed692a2162d504d9632";
|
||||
# sha256 = "0clc9s175mjzrkcjmwhl60fycdxgn24wkhcggaw1gsfspnlizr8z";
|
||||
# };
|
||||
# meta.homepage = "https://github.com/tamton-aquib/duck.nvim/";
|
||||
# }
|
||||
# )
|
||||
|
||||
];
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
|
@ -1,42 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
clock24 = true;
|
||||
shell = "${pkgs.bashInteractive}/bin/bash";
|
||||
plugins = with pkgs.tmuxPlugins; [
|
||||
yank
|
||||
cpu
|
||||
resurrect
|
||||
continuum
|
||||
{
|
||||
plugin = dracula;
|
||||
extraConfig = ''
|
||||
set -g @dracula-show-battery false
|
||||
set -g @dracula-show-powerline true
|
||||
set -g @dracula-refresh-rate 10
|
||||
set -g @dracula-military-time true
|
||||
set -g @dracula-plugins "battery cpu-usage ram-usage time"
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
||||
extraConfig = ''
|
||||
# VIM, Prefix, Renumber
|
||||
setw -g mode-keys vi
|
||||
set-option -g prefix C-t
|
||||
set-option -g renumber-windows on
|
||||
|
||||
# Maintain Directory
|
||||
bind '"' split-window -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
|
||||
# Set Colors
|
||||
# set -g default-terminal "screen-256color"
|
||||
# set-option -ga terminal-overrides ",xterm-256color:Tc"
|
||||
# set -g status-style bg='#395A65',fg='#B0BEC5'
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user