Customize kitty, yazi, and starship
This commit is contained in:
parent
da4203cdc7
commit
a05811a5aa
@ -4,6 +4,46 @@
|
|||||||
dconf = {
|
dconf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
"org/gnome/settings-daemon/plugins/media-keys" = {
|
||||||
|
custom-keybindings = [
|
||||||
|
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"
|
||||||
|
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/"
|
||||||
|
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/"
|
||||||
|
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/"
|
||||||
|
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4/"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
|
||||||
|
binding = "<Super>k";
|
||||||
|
command = "kitty";
|
||||||
|
name = "open-terminal";
|
||||||
|
};
|
||||||
|
|
||||||
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = {
|
||||||
|
binding = "<Super>c";
|
||||||
|
command = "code";
|
||||||
|
name = "open-vscode";
|
||||||
|
};
|
||||||
|
|
||||||
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2" = {
|
||||||
|
binding = "<Super>i";
|
||||||
|
command = "thunderbird";
|
||||||
|
name = "open-thunderbird";
|
||||||
|
};
|
||||||
|
|
||||||
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3" = {
|
||||||
|
binding = "<Super>f";
|
||||||
|
command = "kitty -- zsh -c 'yazi; exec zsh'";
|
||||||
|
name = "open-yazi";
|
||||||
|
};
|
||||||
|
|
||||||
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4" = {
|
||||||
|
binding = "<Super>b";
|
||||||
|
command = "kitty -- zsh -c 'btop; exec zsh'";
|
||||||
|
name = "open-btop";
|
||||||
|
};
|
||||||
|
|
||||||
"org/gnome/shell" = {
|
"org/gnome/shell" = {
|
||||||
disable-user-extensions = false; # enables user extensions
|
disable-user-extensions = false; # enables user extensions
|
||||||
enabled-extensions = [
|
enabled-extensions = [
|
||||||
|
@ -12,7 +12,9 @@
|
|||||||
window_padding_width = 5;
|
window_padding_width = 5;
|
||||||
background_opacity = "0.90";
|
background_opacity = "0.90";
|
||||||
background_blur = 5;
|
background_blur = 5;
|
||||||
themeFile = "Alucard";
|
background = "#17041c";
|
||||||
|
hide_window_decorations = true;
|
||||||
|
# themeFile = "Alucard";
|
||||||
# symbol_map =
|
# symbol_map =
|
||||||
# let
|
# let
|
||||||
# mappings = [
|
# mappings = [
|
||||||
|
@ -1,21 +1,26 @@
|
|||||||
|
{ inputs, pkgs, lib, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
enableZshIntegration = true;
|
||||||
username = {
|
settings = pkgs.lib.importTOML ./xbazzi_starship.toml;
|
||||||
style_user = "blue bold";
|
# username = {
|
||||||
style_root = "red bold";
|
# style_user = "blue bold";
|
||||||
format = "[$user]($style) ";
|
# style_root = "red bold";
|
||||||
disabled = false;
|
# format = "[$user]($style) ";
|
||||||
show_always = true;
|
# disabled = false;
|
||||||
};
|
# show_always = true;
|
||||||
hostname = {
|
# };
|
||||||
ssh_only = false;
|
# hostname = {
|
||||||
ssh_symbol = "🌐 ";
|
# ssh_only = false;
|
||||||
format = "on [$hostname](bold red) ";
|
# ssh_symbol = "🌐 ";
|
||||||
trim_at = ".local";
|
# format = "on [$hostname](bold red) ";
|
||||||
disabled = false;
|
# trim_at = ".local";
|
||||||
};
|
# disabled = false;
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
|
# home.sessionVariables = {
|
||||||
|
# STARSHIP_CONFIG = "/home/xbazzi/.config/starship.toml";
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
64
home/xbazzi_starship.toml
Normal file
64
home/xbazzi_starship.toml
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
format = """
|
||||||
|
[░▒▓](#a3aed2)\
|
||||||
|
[ ](bg:#a3aed2 fg:#090c0c)\
|
||||||
|
[](bg:#769ff0 fg:#a3aed2)\
|
||||||
|
$directory\
|
||||||
|
[](fg:#769ff0 bg:#394260)\
|
||||||
|
$git_branch\
|
||||||
|
$git_status\
|
||||||
|
[](fg:#394260 bg:#212736)\
|
||||||
|
$nodejs\
|
||||||
|
$rust\
|
||||||
|
$golang\
|
||||||
|
$php\
|
||||||
|
[](fg:#212736 bg:#1d2230)\
|
||||||
|
$time\
|
||||||
|
[ ](fg:#1d2230)\
|
||||||
|
\n$character"""
|
||||||
|
|
||||||
|
[directory]
|
||||||
|
style = "fg:#e3e5e5 bg:#769ff0"
|
||||||
|
format = "[ $path ]($style)"
|
||||||
|
truncation_length = 3
|
||||||
|
truncation_symbol = "…/"
|
||||||
|
|
||||||
|
[directory.substitutions]
|
||||||
|
"Documents" = " "
|
||||||
|
"Downloads" = " "
|
||||||
|
"Music" = " "
|
||||||
|
"Pictures" = " "
|
||||||
|
|
||||||
|
[git_branch]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:#394260"
|
||||||
|
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
style = "bg:#394260"
|
||||||
|
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'
|
||||||
|
|
||||||
|
[nodejs]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:#212736"
|
||||||
|
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||||
|
|
||||||
|
[rust]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:#212736"
|
||||||
|
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||||
|
|
||||||
|
[golang]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:#212736"
|
||||||
|
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||||
|
|
||||||
|
[php]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:#212736"
|
||||||
|
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||||
|
|
||||||
|
[time]
|
||||||
|
disabled = false
|
||||||
|
time_format = "%R" # Hour:Minute Format
|
||||||
|
style = "bg:#1d2230"
|
||||||
|
format = '[[ $time ](fg:#a0a9cb bg:#1d2230)]($style)'
|
@ -53,17 +53,18 @@
|
|||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
nerd-fonts.fira-code
|
nerd-fonts.fira-code
|
||||||
|
nerd-fonts.sauce-code-pro
|
||||||
|
# nerd-fonts._Oxproto
|
||||||
nerd-fonts.space-mono
|
nerd-fonts.space-mono
|
||||||
nerd-fonts.droid-sans-mono
|
nerd-fonts.droid-sans-mono
|
||||||
noto-fonts-cjk-sans
|
noto-fonts-cjk-sans
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
liberation_ttf
|
liberation_ttf
|
||||||
#fira-code
|
|
||||||
fira-code-symbols
|
fira-code-symbols
|
||||||
mplus-outline-fonts.githubRelease
|
mplus-outline-fonts.githubRelease
|
||||||
dina-font
|
dina-font
|
||||||
proggyfonts
|
proggyfonts
|
||||||
];
|
] ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
|
||||||
|
|
||||||
# Zsh enable for all users
|
# Zsh enable for all users
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user