mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: switched back to hyprland
This commit is contained in:
parent
dd99b3a827
commit
b0dc23c7c0
144 changed files with 1347 additions and 477 deletions
|
@ -8,56 +8,54 @@
|
|||
makeStyle = bg: fg: "bg:" + bg + " fg:" + fg + " bold";
|
||||
surround = fg: text: "[](fg:" + makeColor colors.base + " bg:" + fg + ")" + "[█](fg:" + fg + ")" + text + "[█](fg:" + fg + ")";
|
||||
in {
|
||||
settings = {
|
||||
add_newline = false;
|
||||
character = let
|
||||
makeChar = bg: c: surround (makeColor bg) ("[" + c + "](" + makeStyle (makeColor bg) (makeColor colors.crust) + ")");
|
||||
in {
|
||||
error_symbol = makeChar colors.maroon "⊥";
|
||||
format = "$symbol";
|
||||
success_symbol = makeChar colors.teal "λ";
|
||||
};
|
||||
cmd_duration = {
|
||||
format = surround (makeColor colors.mauve) "[ $duration]($style)";
|
||||
min_time = 0;
|
||||
show_milliseconds = true;
|
||||
style = makeStyle (makeColor colors.mauve) (makeColor colors.crust);
|
||||
};
|
||||
directory = {
|
||||
format = surround (makeColor colors.blue) "[ $path]($style)[$read_only]($read_only_style)";
|
||||
read_only = " ";
|
||||
read_only_style = makeStyle (makeColor colors.blue) (makeColor colors.crust);
|
||||
style = makeStyle (makeColor colors.blue) (makeColor colors.crust);
|
||||
truncation_length = 1;
|
||||
truncate_to_repo = false;
|
||||
};
|
||||
git_branch = {
|
||||
format = surround (makeColor colors.peach) "[$symbol $branch]($style)";
|
||||
style = makeStyle (makeColor colors.peach) (makeColor colors.crust);
|
||||
symbol = "";
|
||||
};
|
||||
git_status = {
|
||||
format = "[ \\[$all_status$ahead_behind\\]]($style)";
|
||||
style = makeStyle (makeColor colors.yellow) (makeColor colors.crust);
|
||||
};
|
||||
hostname = {
|
||||
format = surround (makeColor colors.sapphire) "[$ssh_symbol$hostname]($style)";
|
||||
ssh_symbol = " ";
|
||||
style = makeStyle (makeColor colors.sapphire) (makeColor colors.crust);
|
||||
};
|
||||
pijul_channel = {
|
||||
disabled = false;
|
||||
format = surround (makeColor colors.peach) "[$symbol $channel]($style)";
|
||||
style = makeStyle (makeColor colors.peach) (makeColor colors.crust);
|
||||
symbol = "";
|
||||
};
|
||||
format = lib.concatStrings [
|
||||
"$hostname"
|
||||
"$directory"
|
||||
"$pijul_channel"
|
||||
"$git_branch"
|
||||
"$cmd_duration"
|
||||
"$character "
|
||||
];
|
||||
add_newline = false;
|
||||
character = let
|
||||
makeChar = bg: c: surround (makeColor bg) ("[" + c + "](" + makeStyle (makeColor bg) (makeColor colors.crust) + ")");
|
||||
in {
|
||||
error_symbol = makeChar colors.maroon "⊥";
|
||||
format = "$symbol";
|
||||
success_symbol = makeChar colors.teal "λ";
|
||||
};
|
||||
cmd_duration = {
|
||||
format = surround (makeColor colors.mauve) "[ $duration]($style)";
|
||||
min_time = 0;
|
||||
show_milliseconds = true;
|
||||
style = makeStyle (makeColor colors.mauve) (makeColor colors.crust);
|
||||
};
|
||||
directory = {
|
||||
format = surround (makeColor colors.blue) "[ $path]($style)[$read_only]($read_only_style)";
|
||||
read_only = " ";
|
||||
read_only_style = makeStyle (makeColor colors.blue) (makeColor colors.crust);
|
||||
style = makeStyle (makeColor colors.blue) (makeColor colors.crust);
|
||||
truncation_length = 1;
|
||||
truncate_to_repo = false;
|
||||
};
|
||||
git_branch = {
|
||||
format = surround (makeColor colors.peach) "[$symbol $branch]($style)";
|
||||
style = makeStyle (makeColor colors.peach) (makeColor colors.crust);
|
||||
symbol = "";
|
||||
};
|
||||
git_status = {
|
||||
format = "[ \\[$all_status$ahead_behind\\]]($style)";
|
||||
style = makeStyle (makeColor colors.yellow) (makeColor colors.crust);
|
||||
};
|
||||
hostname = {
|
||||
format = surround (makeColor colors.sapphire) "[$ssh_symbol$hostname]($style)";
|
||||
ssh_symbol = " ";
|
||||
style = makeStyle (makeColor colors.sapphire) (makeColor colors.crust);
|
||||
};
|
||||
pijul_channel = {
|
||||
disabled = false;
|
||||
format = surround (makeColor colors.peach) "[$symbol $channel]($style)";
|
||||
style = makeStyle (makeColor colors.peach) (makeColor colors.crust);
|
||||
symbol = "";
|
||||
};
|
||||
format = lib.concatStrings [
|
||||
"$hostname"
|
||||
"$directory"
|
||||
"$pijul_channel"
|
||||
"$git_branch"
|
||||
"$cmd_duration"
|
||||
"$character "
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue