Compare commits

...

3 commits

Author SHA1 Message Date
f9a6d798ea
neovim: add plugins and themes 2025-09-12 15:27:22 -06:00
00c44ba7ed
home: upgrade fonts to nerdfonts 2025-09-12 15:23:41 -06:00
f03b8d39db
home: add dysk 2025-09-12 15:20:10 -06:00
11 changed files with 76 additions and 16 deletions

View file

@ -20,6 +20,7 @@ in {
packages = with pkgs; [
calc
dysk
file
gcc
htop

View file

@ -8,7 +8,7 @@
enable = true;
defaultFonts = {
monospace = [
"JetBrains Mono"
"JetBrainsMono Nerd Font"
"Noto Sans Mono CJK SC"
"Noto Sans Mono"
"Noto Color Emoji"
@ -31,11 +31,10 @@
# with fonts.packages buy im too lazy to check
home.packages = with pkgs; [
jetbrains-mono
nerd-fonts.jetbrains-mono
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
noto-fonts-extra
nerd-fonts.fira-code
nerd-fonts.droid-sans-mono
];
}

View file

@ -18,7 +18,7 @@ in {
progress-color = "over #FFFFFF";
border-radius = 0;
default-timeout = 7000;
font = "JetBrains Mono 10";
font = "JetBrainsMono Nerd Font 10";
icons = true;
ignore-timeout = false;
layer = "top";

View file

@ -62,7 +62,7 @@ in {
};
fonts = {
names = ["JetBrains Mono"];
names = ["JetBrainsMono Nerd Font"];
style = "Regular";
size = 8.0;
};
@ -136,7 +136,7 @@ in {
keybindings = let
mod = config.wayland.windowManager.sway.config.modifier;
grimshot = getExe pkgs.sway-contrib.grimshot;
bemenuCommand = ''bemenu-run --center --width-factor 0.2 --fixed-height --list 10 --scrollbar none --auto-select --accept-single --fn "JetBrains Mono 12" --prompt "" --tb "#000000" --tf "#EAEAEA" --fb "#000000" --ff "#EAEAEA" --cb "#EAEAEA" --cf "#000000" --nb "#000000" --nf "#EAEAEA" --sb "#000000" --sf "#EAEAEA" --hb "#000000" --hf "#EAEAEA" --fbb "#000000" --fbf "#000000" --ab "#000000" --af "#EAEAEA"'';
bemenuCommand = ''bemenu-run --center --width-factor 0.2 --fixed-height --list 10 --scrollbar none --auto-select --accept-single --fn "JetBrainsMono Nerd Font 12" --prompt "" --tb "#000000" --tf "#EAEAEA" --fb "#000000" --ff "#EAEAEA" --cb "#EAEAEA" --cf "#000000" --nb "#000000" --nf "#EAEAEA" --sb "#000000" --sf "#EAEAEA" --hb "#000000" --hf "#EAEAEA" --fbb "#000000" --fbf "#000000" --ab "#000000" --af "#EAEAEA"'';
in
mkOptionDefault {
"${mod}+a" = "focus parent";

View file

@ -48,16 +48,16 @@ in {
tooltip = false;
};
"cpu" = {
format = "cpu {usage}%";
format = " {usage}%";
tooltip = false;
};
"memory" = {
format = "mem {percentage}%";
format = " {percentage}%";
tooltip = true;
tooltip-format = "{used}/{total}";
};
"disk" = {
format = "disk {specific_used:0.0f}/{specific_total:0.0f}";
format = " {specific_used:0.0f}/{specific_total:0.0f}";
unit = "GiB";
tooltip = false;
};
@ -68,7 +68,7 @@ in {
};
style = ''
* {
font-family: "JetBrains Mono", monospace;
font-family: "JetBrainsMono Nerd Font", monospace;
font-size: 12px;
font-weight: 500;
border: none;

View file

@ -15,6 +15,7 @@ in {
enable = true;
settings = {
theme = "macawCustom";
font.size = 16;
preview.enabled = false;
sidebar = {
buffer_action = "replace-pane";

View file

@ -40,8 +40,66 @@ in {
'';
plugins = with pkgs.vimPlugins; [
barbar-nvim
nvim-web-devicons
vim-nix
vim-visual-multi
{
plugin = nvim-tree-lua;
type = "lua";
config = ''
require("nvim-tree").setup({
renderer = {
icons = {
show = {
file = true,
folder = true,
folder_arrow = true,
git = true,
},
glyphs = {
git = {
unstaged = "",
staged = "",
unmerged = "",
renamed = "",
untracked = "",
deleted = "",
ignored = "",
},
},
},
},
view = {
width = 30,
side = 'left',
},
sync_root_with_cwd = true, --fix to open cwd with tree
respect_buf_cwd = true,
update_cwd = true,
update_focused_file = {
enable = true,
update_cwd = true,
update_root = true,
},
})
vim.g.nvim_tree_respect_buf_cwd = 1
-- use g? for bindings help while in tree
'';
}
{
plugin = gruvbox-nvim;
type = "lua";
config = ''
require("gruvbox").setup({
contrast = "high",
})
vim.o.background = "dark"
vim.cmd([[colorscheme gruvbox]])
'';
}
];
};
home.sessionVariables = {

View file

@ -15,10 +15,10 @@ in {
settings = {
main = {
term = "xterm-256color";
font = "JetBrains Mono:style=Medium:size=15";
font-bold = "JetBrains Mono:style=Bold:size=15";
font-italic = "JetBrains Mono:style=Italic:size=15";
font-bold-italic = "JetBrains Mono:style=Bold Italic:size=15";
font = "JetBrainsMono Nerd Font:style=Medium:size=15";
font-bold = "JetBrainsMono Nerd Font:style=Bold:size=15";
font-italic = "JetBrainsMono Nerd Font:style=Italic:size=15";
font-bold-italic = "JetBrainsMono Nerd Font:style=Bold Italic:size=15";
dpi-aware = "yes";
initial-window-size-pixels = "1200x600";
};

View file

@ -40,7 +40,7 @@ in {
};
autosave = "on_focus_change";
auto_update = false;
buffer_font_family = "JetBrains Mono";
buffer_font_family = "JetBrainsMono Nerd Font";
buffer_font_size = 22;
hide_mouse = "never";
minimap.show = "auto";

View file

@ -55,6 +55,7 @@ in {
fonts.packages = with pkgs; [
jetbrains-mono
nerd-fonts.jetbrains-mono
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji

View file

@ -26,7 +26,7 @@ in {
window {
background-color: black;
color: #eaeaea;
font-family: "JetBrains Mono", monospace;
font-family: "JetBrainsMono Nerd Font", monospace;
font-size: 14px;
}