This commit is contained in:
Hadi
2024-10-06 18:49:52 +02:00
parent 23dcfd5290
commit 905cc9a885
75 changed files with 326 additions and 1325 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, config, ... }: {
{ pkgs, ... }: {
home.packages = with pkgs; [ neofetch ];
xdg.configFile."neofetch/ascii.txt".text = ''
@@ -109,9 +109,6 @@
song_format="%artist% - %album% - %title%"
song_shorthand="off"
mpc_args=()
colors=(${toString config.var.theme.colors.accentNumber} 1 ${
toString config.var.theme.colors.accentNumber
} ${toString config.var.theme.colors.accentNumber} 7)
bold="on"
underline_enabled="on"
underline_char="-"

View File

@@ -1,4 +1,4 @@
{ pkgs, config, ... }:
{ pkgs, ... }:
let
nerdfetch = pkgs.writeShellScriptBin "nerdfetch" ''
ostype="$(uname)"
@@ -345,9 +345,9 @@ let
## USER VARIABLES -- YOU CAN CHANGE THESE
lc="$reset$bold''$${config.var.theme.colors.accentName}" # labels
nc="$reset$bold''$${config.var.theme.colors.accentName}" # labels
hn="$reset$bold''$${config.var.theme.colors.accentName}" # labels
lc="$reset$bold$magenta" # labels
nc="$reset$bold$magenta" # labels
hn="$reset$bold$magenta" # labels
ic="$reset$white" # info
c0="$reset$grey" # first color
c1="$reset$white" # second color

View File

@@ -165,16 +165,16 @@
action = "<cmd>lua require('telescope.builtin').spell_suggest()<cr>";
options.desc = "Spell Suggest";
}
{
key = "<leader>st";
action = "<cmd>lua require('telescope.builtin').treesitter()<cr>";
options.desc = "Treesitter";
}
{
key = "<leader>sr";
action = "<cmd>:noh<return><esc>";
options.desc = "Reset search";
}
{
key = "<leader>st";
action = "<cmd>TodoTelescope<cr>";
options.desc = "Todos";
}
# Trouble
{

View File

@@ -1,9 +1,9 @@
{ config, ... }: {
programs.nixvim.highlight = {
AlphaHeaderColor.fg = "#${config.var.theme.colors.accent}";
AlphaTextColor.fg = "#${config.var.theme.colors.fg}";
AlphaShortcutColor.fg = "#${config.var.theme.colors.fgalt}";
AlphaHeaderColor.fg = "#${config.lib.stylix.colors.base0D}";
AlphaTextColor.fg = "#${config.lib.stylix.colors.base05}";
AlphaShortcutColor.fg = "#${config.lib.stylix.colors.base03}";
};
programs.nixvim.plugins.alpha = {

View File

@@ -3,9 +3,9 @@
programs.nixvim = {
highlight = {
Headline.bg = "#${config.var.theme.colors.bgalt}";
Headline.bg = "#${config.lib.stylix.colors.base0D}";
Headline.bold = true;
Headline1.bg = "#${config.var.theme.colors.c0}";
Headline1.bg = "#${config.lib.stylix.colors.base01}";
Headline1.bold = true;
};
plugins = {

View File

@@ -1,7 +1,7 @@
{ config, ... }: {
programs.nixvim = {
highlightOverride = {
FloatBorder.fg = "#${config.var.theme.colors.accent}";
FloatBorder.fg = "#${config.lib.stylix.colors.base0D}";
};
plugins = {
copilot-vim.enable = true;
@@ -15,6 +15,7 @@
enable = true;
extensions.fzf-native = { enable = true; };
};
todo-comments.enable = true;
treesitter = {
enable = true;
nixGrammars = true;

View File

@@ -7,10 +7,10 @@ let
"openLinksInNewTab": false,
"locale": "fr-FR",
"colors": {
"primary": "#${config.var.theme.colors.accent}",
"background": "#${config.var.theme.colors.bg}",
"foreground": "#${config.var.theme.colors.fg}",
"muted": "#${config.var.theme.colors.c8}"
"primary": "#${config.lib.stylix.colors.base0D}",
"background": "#${config.lib.stylix.colors.base00}",
"foreground": "#${config.lib.stylix.colors.base05}",
"muted": "#${config.lib.stylix.colors.base03}"
},
"folders": [
{
@@ -73,7 +73,7 @@ let
in {
imports = [ ./duckduckgo-colorscheme.nix ];
# imports = [ ./duckduckgo-colorscheme.nix ];
programs.qutebrowser = {
enable = true;

View File

@@ -1,11 +1,4 @@
{
imports = [
./fzf.nix
./zsh.nix
./starship.nix
./zoxide.nix
./tmux.nix
./lazygit.nix
./eza.nix
];
imports =
[ ./fzf.nix ./zsh.nix ./starship.nix ./zoxide.nix ./tmux.nix ./eza.nix ];
}

View File

@@ -1,13 +0,0 @@
{ config, ... }: {
programs.lazygit = {
enable = true;
settings = {
gui.theme = {
ligthTheme = false;
activeBorderColor = [ "${config.var.theme.colors.accentName}" "bold" ];
inactiveBorderColor = [ "black" ];
selectedLineBgColor = [ "default" ];
};
};
};
}

View File

@@ -10,10 +10,10 @@
"$git_status"
"$character"
];
directory = { style = "#${config.var.theme.colors.accent}"; };
directory = { style = "#${config.lib.stylix.colors.base0D}"; };
character = {
success_symbol = "[](#${config.var.theme.colors.accent})";
success_symbol = "[](#${config.lib.stylix.colors.base0D})";
error_symbol = "[](red)";
vimcmd_symbol = "[](cyan)";
};