Compare commits

...

4 Commits

  1. 29
      nix-darwin/home.nix
  2. 6
      nix-darwin/modules/skhd.nix
  3. 53
      nvchad/.config/nvim/lua/chadrc.lua
  4. 6
      nvchad/.config/nvim/lua/options.lua

@ -169,6 +169,9 @@
yabai # wm yabai # wm
skhd # key mngr skhd # key mngr
# terminal
# iterm2
# Fonts # Fonts
nerdfonts nerdfonts
]; ];
@ -298,6 +301,32 @@
y = 8; y = 8;
}; };
}; };
colors = {
primary = {
background = "0x1e2122";
foreground = "0xd4be98";
};
normal = {
black = "0x17191a";
red = "0xea6962";
green = "0xa9b665";
yellow = "0xd8a657";
blue = "0x7daea3";
magenta = "0xd3869b";
cyan = "0x89b482";
white = "0xd4be98";
};
bright = {
black = "0x32302f";
red = "0xea6962";
green = "0xa9b665";
yellow = "0xd8a657";
blue = "0x7daea3";
magenta = "0xd3869b";
cyan = "0x89b482";
white = "0xd4be98";
};
};
}; };
}; };

@ -17,7 +17,7 @@ in
cmd - p : open -n /Applications/choose-gui.app cmd - p : open -n /Applications/choose-gui.app
# Close window # Close window
cmd + shift - c : yabai -m window --close cmd + shift - q : yabai -m window --close
# Focus window # Focus window
cmd - j : yabai -m window --focus south cmd - j : yabai -m window --focus south
@ -69,10 +69,10 @@ in
shift + cmd - 9 : yabai -m window --space 9 shift + cmd - 9 : yabai -m window --space 9
# Restart yabai # Restart yabai
shift + cmd - q : yabai --restart-service shift + cmd - c : yabai --restart-service
# Start browser # Start browser
cmd - b : open -n ${browserPath} shift + cmd - b : open -n ${browserPath}
# Screenshot selection # Screenshot selection
cmd - f3 : screencapture -i -c cmd - f3 : screencapture -i -c

@ -1,18 +1,59 @@
-- This file needs to have same structure as nvconfig.lua -- This file needs to have same structure as nvconfig.lua
-- https://github.com/NvChad/ui/blob/v2.5/lua/nvconfig.lua -- https://github.com/NvChad/ui/blob/v2.5/lua/nvconfig.lua
---@type ChadrcConfig ---@type ChadrcConfig
local M = {} local M = {}
-- Path to overriding theme and highlights files -- Path to overriding theme and highlights files
local highlights = require "highlights" local highlights = require("highlights")
local custom_logo = {
" ",
" ",
" ________________________________ ",
" / '-_ ",
" / . | . \\ ",
" / : \\ | / : \\ ",
" / '-___-' \\ ",
" /_________________________________________ \\ ",
" _______| |________________________--''-L ",
" / F J \\ ",
" / F J L ",
" / :' ': F ",
" / '-___-' / ",
" /_________________________________________--' ",
" ",
" ",
}
local function split_string(s)
local t = {}
for str in string.gmatch(s, "([^\n]+)") do
table.insert(t, str)
end
return t
end
M.ui = { M.ui = {
theme = "gruvchad", theme = "gruvchad",
theme_toggle = { "gruvchad", "blossom_light" }, theme_toggle = { "gruvchad", "blossom_light" },
hl_override = highlights.override,
hl_add = highlights.add,
statusline = {
theme = "vscode",
},
hl_override = {
NvDashAscii = { bg = "blue", fg = "white" },
},
hl_override = highlights.override, nvdash = {
hl_add = highlights.add, load_on_startup = true,
header = custom_logo,
width = 100,
},
} }
return M return M

@ -1,6 +1,6 @@
require "nvchad.options" require("nvchad.options")
-- add yours here! -- add yours here!
-- local o = vim.o local o = vim.o
-- o.cursorlineopt ='both' -- to enable cursorline! o.cursorlineopt = "both"

Loading…
Cancel
Save