Skip to content

Commit

Permalink
Merge pull request #71 from redyf/dev
Browse files Browse the repository at this point in the history
dev
  • Loading branch information
redyf authored May 7, 2024
2 parents fac1375 + fe5a926 commit 6a374fa
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 45 deletions.
4 changes: 2 additions & 2 deletions home/redyf/apps/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ _: {
# ./artix-game-launcher
./discord
# ./davinci-resolve
./emacs
# ./emacs
./firefox
./insomnia
# ./insomnia
./misc
./obs
# ./vscode
Expand Down
87 changes: 55 additions & 32 deletions home/redyf/cli-apps/starship/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,74 +33,97 @@
'';

palette = "catppuccin_${flavour}";

aws = {
format = "on [$symbol($profile )(\($region) )]($style)";
style = "bold blue";
symbol = " ";
};

dart = {
format = "via [$symbol($version )]($style)";
symbol = "[]($style) ";
style = "bold blue";
};

docker_context = {
disabled = true;
};

elixir = {
format = "via [$symbol($version \(OTP $otp_version\) )]($style)";
symbol = " ";
style = "bold purple";
};

git_branch = {
format = "on [$symbol$branch(:$remote_branch)]($style) ";
symbol = " ";
style = "bold purple";
};

git_commit = {
format = "[\($hash$tag\)]($style) ";
commit_hash_length = 7;
style = "bold green";
};
git_commit = {commit_hash_length = 5;};

golang = {
format = "[ ]($style)";
format = "via [$symbol($version )]($style)";
style = "bold blue";
symbol = "[ ]($style)";
};

dart = {
symbol = "[]($style) ";
style = "bold blue";
kubernetes = {
symbol = "☸ ";
disabled = false;
detect_files = ["Dockerfile"];
format = "[$context(\[$namespace\])]($style) ";
};

lua = {
format = "via [$symbol($version )]($style)";
symbol = "[]($style) ";
style = "bold blue";
};

nix_shell = {
format = "via [$symbol$state( \($name\))]($style) ";
symbol = "󱄅 ";
style = "bold blue";
disabled = false;
};

nodejs = {
format = "via [$symbol($version )]($style)";
style = "bold green";
symbol = " ";
version_format = "v$raw(blue)";
};

package = {
symbol = "📦";
format = "is [$symbol$version]($style) ";
symbol = " ";
style = "bold 208";
};

python = {
format = "via [$symbol$pyenv_prefix($version )(\($virtualenv\) )]($style)";
symbol = "[]($style) ";
style = "bold blue";
};

rust = {
format = "via [$symbol($version )]($style)";
symbol = "[]($style) ";
style = "bold blue";
style = "bold #f74b00";
};

shell = {
disabled = true;
zsh_indicator = "zsh";
};

aws = {
format = "on [$symbol($profile )(\($region) )]($style)";
style = "bold blue";
symbol = " ";
};

kubernetes = {
symbol = "☸ ";
disabled = false;
detect_files = ["Dockerfile"];
format = "[$context(\[$namespace\])]($style) ";
};

docker_context = {
disabled = true;
};

# nix_shell = {
# disabled = false;
# heuristic = false;
# impure_msg = "[impure-shell](red)";
# pure_msg = "[pure-shell](green)";
# unknown_msg = "[unknown-shell](yellow)";
# };

custom = {
nix = {
disabled = true;
Expand Down
37 changes: 37 additions & 0 deletions home/redyf/desktop/addons/kitty/custom-mocha.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
''
background #11111B
# Cursor
cursor #cba6f7
# Border
active_border_color #78a9ff
inactive_border_color #535353
bell_border_color #3ddbd9
# Tabs
active_tab_background #78a9ff
active_tab_foreground #0c0c0c
inactive_tab_background #2a2a2a
inactive_tab_foreground #6e6f70
# normal
color0 #11111B
color1 #ff5555
color2 #afffd7
color3 #f1fa8c
color4 #87afff
color5 #bd93f9
color6 #8be9fd
color7 #f8f8f2
# bright
color8 #2d5b69
color9 #ff665c
color10 #84c747
color11 #ebc13d
color12 #58a3ff
color13 #ff84cd
color14 #53d6c7
color15 #cad8d9
''
14 changes: 8 additions & 6 deletions home/redyf/desktop/addons/kitty/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
enableZshIntegration = true;
mode = "no-cursor";
};
theme = "Catppuccin-Mocha";
# theme = "Catppuccin-Mocha";
font = {
# name = "MonoLisa";
# name = "Liga SfMono Nerd Font";
# name = "Berkeley Mono Regular Nerd Font Complete";
name = "LiterationMono Nerd Font";
size = 11;
name = "FiraMono Nerd Font";
# name = "LiterationMono Nerd Font";
# name = "MonoLisa";
# package = pkgs.monolisa-script;
size = 11;
};
# https://www.monolisa.dev/faq#how-to-enable-stylistic-sets-for-the-kitty-terminal
extraConfig = ''
Expand Down Expand Up @@ -62,6 +62,7 @@
term = "xterm-256color";

# Themes
include = "themes/custom-mocha.conf";
# include = "themes/oxocarbon-dark.conf";
# terminal_select_modifiers = "alt";

Expand Down Expand Up @@ -115,9 +116,10 @@
# "kitty/themes/lunar.conf".text = import ./lunar.nix;
# "kitty/themes/mocha.conf".text = import ./mocha.nix;
# "kitty/themes/macchiato.conf".text = import ./macchiato.nix;
"kitty/themes/custom-mocha.conf".text = import ./custom-mocha.nix;
# "kitty/themes/tokyonight_night.conf".text = import ./tokyonight_night.nix;
# "kitty/themes/rose-pine.conf".text = import ./rose-pine.nix;
"kitty/themes/oxocarbon-dark.conf".text = import ./oxocarbon.nix;
# "kitty/themes/oxocarbon-dark.conf".text = import ./oxocarbon.nix;
};
};
}
10 changes: 5 additions & 5 deletions home/redyf/desktop/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,19 @@ in {
};

general = {
gaps_in = 1;
gaps_out = 2;
border_size = 3;
gaps_in = 0;
gaps_out = 0;
border_size = 0;
"col.active_border" = "${catppuccin_border}";
"col.inactive_border" = "${tokyonight_border}";
layout = "dwindle";
apply_sens_to_raw = 1; # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
};

decoration = {
rounding = 12;
rounding = 0;
shadow_ignore_window = true;
drop_shadow = true;
drop_shadow = false;
shadow_range = 20;
shadow_render_power = 3;
"col.shadow" = "rgb(${oxocarbon_background})";
Expand Down

0 comments on commit 6a374fa

Please sign in to comment.