Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat ✨: ffetch images #69

Merged
merged 2 commits into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/build-anya.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
pre_job:
# continue-on-error: true # Uncomment once integration is finished
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-nishinoya.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
pre_job:
# continue-on-error: true # Uncomment once integration is finished
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-totoro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
pre_job:
# continue-on-error: true # Uncomment once integration is finished
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/check-nix-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Check that Nix files are formatted
on:
pull_request_target:
types: [opened, synchronize, reopened, edited]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
Expand Down
57 changes: 35 additions & 22 deletions homeManagerModules/fastfetchConfig.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ let
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"source": "~/.config/fastfetch/asciiArt",
"source": "~/.config/fastfetch/logo",

"type": "file",
"type": "auto",
"padding": {
"top": 0,
"top": 2,
"left": 0
}
},
"height": 12
},
"display": {
"separator": "  "
Expand Down Expand Up @@ -96,33 +97,45 @@ let
]
}
'';
asciiArt = ''
logo = pkgs.writeTextFile {
name = "logo";
text = ''


⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⡀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣼⣾⣟⠳⢾⣷⡤⡀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠨⣿⣿⣿⣆⢙⢤⢺⠻⣿⣾⡖⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣿⣟⣿⣿⣯⣾⣿⣿⣾⣿⡟⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⢿⣿⣿⡟⠟⣿⣿⢏⣿⡟⠀⠀⠀⠀
⠀⠀⠀⠀⢀⣀⣤⣤⣴⢾⠁⢜⣿⣷⣦⠹⡉⠓⠁⠈⡡⣻⣷⣄⡀⠀⠀⠀
⠀⠀⠀⠀⠈⢪⣇⣼⣿⣎⣱⡦⠔⠉⠑⡆⠀⠁⣀⢥⣿⣿⣿⡿⠷⣄⠀⠀
⠀⡀⠀⠀⠀⠀⢹⣿⣿⣿⡏⠀⠀⠀⡠⠀⣴⢊⣡⢿⢟⣿⣾⣷⣀⠹⣦⠀
⡌⡄⠀⠀⠀⠀⠈⣻⣿⣱⡇⢀⠠⠀⠀⢸⣿⣿⣿⣽⣿⣝⢿⣖⢺⡠⣿⡄
⣷⡀⠀⠀⠀⠀⠐⣪⣿⣷⣌⢃⠀⠀⠀⠀⢹⣿⣾⣿⣿⣿⣿⣿⣿⣻⡿⣿
⠸⣧⡀⠀⠀⠠⢮⣿⣿⣶⡿⠁⠀⠀⠀⠀⠀⢻⣿⣿⣿⣿⣿⣿⣿⣿⣧⣿
⠀⠈⠻⠶⣤⣤⠾⢿⣿⡿⠃⠀⠀⠀⠀⠀⠀⠀⢻⣿⣿⣿⣿⣿⣿⣿⡿⠃
⠀⠀⠀⠀⠀⠀⠀⣈⢻⣃⠀⠀⠀⠀⠀⠀⠀⣴⣾⣿⣿⣿⣿⣿⣉⡉⠀⠀
'';
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⡀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣼⣾⣟⠳⢾⣷⡤⡀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠨⣿⣿⣿⣆⢙⢤⢺⠻⣿⣾⡖⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣿⣟⣿⣿⣯⣾⣿⣿⣾⣿⡟⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⢿⣿⣿⡟⠟⣿⣿⢏⣿⡟⠀⠀⠀⠀
⠀⠀⠀⠀⢀⣀⣤⣤⣴⢾⠁⢜⣿⣷⣦⠹⡉⠓⠁⠈⡡⣻⣷⣄⡀⠀⠀⠀
⠀⠀⠀⠀⠈⢪⣇⣼⣿⣎⣱⡦⠔⠉⠑⡆⠀⠁⣀⢥⣿⣿⣿⡿⠷⣄⠀⠀
⠀⡀⠀⠀⠀⠀⢹⣿⣿⣿⡏⠀⠀⠀⡠⠀⣴⢊⣡⢿⢟⣿⣾⣷⣀⠹⣦⠀
⡌⡄⠀⠀⠀⠀⠈⣻⣿⣱⡇⢀⠠⠀⠀⢸⣿⣿⣿⣽⣿⣝⢿⣖⢺⡠⣿⡄
⣷⡀⠀⠀⠀⠀⠐⣪⣿⣷⣌⢃⠀⠀⠀⠀⢹⣿⣾⣿⣿⣿⣿⣿⣿⣻⡿⣿
⠸⣧⡀⠀⠀⠠⢮⣿⣿⣶⡿⠁⠀⠀⠀⠀⠀⢻⣿⣿⣿⣿⣿⣿⣿⣿⣧⣿
⠀⠈⠻⠶⣤⣤⠾⢿⣿⡿⠃⠀⠀⠀⠀⠀⠀⠀⢻⣿⣿⣿⣿⣿⣿⣿⡿⠃
⠀⠀⠀⠀⠀⠀⠀⣈⢻⣃⠀⠀⠀⠀⠀⠀⠀⣴⣾⣿⣿⣿⣿⣿⣉⡉⠀⠀
'';
};
in
{
config = lib.mkIf cfg.fastfetchConfig.enable {
home = {
packages = [ pkgs.fastfetch ];
packages = [
pkgs.fastfetch
pkgs.imagemagick
];
file.".config/fastfetch/config.jsonc" = {
text = fastfetchConfig;
};
file.".config/fastfetch/asciiArt" = {
text = asciiArt;
file.".config/fastfetch/logo" = {
source = logo;
};
};
programs.zsh = {
shellAliases = {
fastfetch = "echo '' && fastfetch";
neofetch = "fastfetch";
};
};
};
Expand Down
38 changes: 16 additions & 22 deletions profiles/anya/fastfetchConfig.nix
Original file line number Diff line number Diff line change
@@ -1,30 +1,24 @@
{ config, lib, ... }:
{
config,
lib,
pkgs,
...
}:
let
cfg = config.customHomeManagerModules;
asciiArt = ''
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢲⢄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠄⠂⢉⠤⠐⠋⠈⠡⡈⠉⠐⠠⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⢀⡀⢠⣤⠔⠁⢀⠀⠀⠀⠀⠀⠀⠀⠈⢢⠀⠀⠈⠱⡤⣤⠄⣀⠀⠀⠀⠀⠀
⠀⠀⠰⠁⠀⣰⣿⠃⠀⢠⠃⢸⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠈⢞⣦⡀⠈⡇⠀⠀⠀
⠀⠀⠀⢇⣠⡿⠁⠀⢀⡃⠀⣈⠀⠀⠀⠀⢰⡀⠀⠀⠀⠀⢢⠰⠀⠀⢺⣧⢰⠀⠀⠀⠀
⠀⠀⠀⠈⣿⠁⡘⠀⡌⡇⠀⡿⠸⠀⠀⠀⠈⡕⡄⠀⠐⡀⠈⠀⢃⠀⠀⠾⠇⠀⠀⠀⠀
⠀⠀⠀⠀⠇⡇⠃⢠⠀⠶⡀⡇⢃⠡⡀⠀⠀⠡⠈⢂⡀⢁⠀⡁⠸⠀⡆⠘⡀⠀⠀⠀⠀
⠀⠀⠀⠸⠀⢸⠀⠘⡜⠀⣑⢴⣀⠑⠯⡂⠄⣀⣣⢀⣈⢺⡜⢣⠀⡆⡇⠀⢣⠀⠀⠀⠀
⠀⠀⠀⠇⠀⢸⠀⡗⣰⡿⡻⠿⡳⡅⠀⠀⠀⠀⠈⡵⠿⠿⡻⣷⡡⡇⡇⠀⢸⣇⠀⠀⠀
⠀⠀⢰⠀⠀⡆⡄⣧⡏⠸⢠⢲⢸⠁⠀⠀⠀⠀⠐⢙⢰⠂⢡⠘⣇⡇⠃⠀⠀⢹⡄⠀⠀
⠀⠀⠟⠀⠀⢰⢁⡇⠇⠰⣀⢁⡜⠀⠀⠀⠀⠀⠀⠘⣀⣁⠌⠀⠃⠰⠀⠀⠀⠈⠰⠀⠀
⠀⡘⠀⠀⠀⠀⢊⣤⠀⠀⠤⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠤⠄⠀⢸⠃⠀⠀⠀⠀⠀⠃⠀
⢠⠁⢀⠀⠀⠀⠈⢿⡀⠀⠀⠀⠀⠀⠀⢀⡀⠀⠀⠀⠀⠀⠀⢀⠏⠀⠀⠀⠀⠀⠀⠸⠀
⠘⠸⠘⡀⠀⠀⠀⠀⢣⠀⠀⠀⠀⠀⠀⠁⠀⠃⠀⠀⠀⠀⢀⠎⠀⠀⠀⠀⠀⢠⠀⠀⡇
⠀⠇⢆⢃⠀⠀⠀⠀⠀⡏⢲⢤⢀⡀⠀⠀⠀⠀⠀⢀⣠⠄⡚⠀⠀⠀⠀⠀⠀⣾⠀⠀⠀
⢰⠈⢌⢎⢆⠀⠀⠀⠀⠁⣌⠆⡰⡁⠉⠉⠀⠉⠁⡱⡘⡼⠇⠀⠀⠀⠀⢀⢬⠃⢠⠀⡆
'';
logo =
let
image = pkgs.fetchurl {
url = "https://i.imgur.com/bZErzRg.jpeg";
sha256 = "sha256-Q/kcNUUxjEs6mO1M/2GRB0jjfkMbs5xra9nHIdlMw+A=";
};
in
"${image}";
in
{
config = lib.mkIf cfg.fastfetchConfig.enable {
home.file.".config/fastfetch/asciiArt" = {
text = lib.mkForce asciiArt;
home.file.".config/fastfetch/logo" = {
source = lib.mkForce logo;
};
};
}
60 changes: 34 additions & 26 deletions profiles/nishinoya/fastfetchConfig.nix
Original file line number Diff line number Diff line change
@@ -1,34 +1,42 @@
{ config, lib, ... }:
{
config,
lib,
pkgs,
...
}:
let
cfg = config.customHomeManagerModules;
asciiArt = ''
⠀⠀⠐⣄⠀⠀⢰⣿⣿⣿⣴⠏⠘⢠⢻⢯⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠈⣶⣄⡈⣿⣿⣿⡟⠀⠆⠃⢸⣿⣿⣿⣿⡿⢟⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣧⠘⣦⡄⢸⠻⠿⣛⣵⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⢻⣿⣿⣿⣿⣿⣿⣿⣾⡇⢧⣮⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⢸⣿⣿⣿⡿⢻⢿⣿⠏⢀⡼⣿⠿⠿⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⢀⣿⡿⠁⠀⣾⣞⡏⠀⣾⠁⠀⠀⠀⠀⠐⠛⠉⠾⠿⠿⣿⣟⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⠈⣿⡁⠀⠀⣿⣼⠀⢰⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠙⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⠀⡏⢹⡆⠀⣟⣹⢠⢸⠙⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⠀⣧⣌⣿⡀⢸⣻⣾⡟⠀⠈⠀⠀⠀⣀⣀⣀⣀⡀⠀⠀⠀⢠⠀⠈⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⠀⣿⣿⣿⡇⠀⢻⡟⠁⣠⣴⠾⠟⠛⠋⠉⠉⠀⠀⠀⠀⠀⠘⠂⣸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⠀⣿⣿⠻⡇⠀⠀⠧⠀⢀⣴⣶⣦⣤⣤⣤⣀⠀⠀⠀⠀⠀⠀⠄⣸⣿⣿⣿⣿⡿⠿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⢸⠉⢇⣠⠇⠈⡆⠀⠀⢸⡿⠻⣿⠷⠆⠀⠨⠍⣷⢀⠄⠀⠀⠀⢹⣿⣿⠟⢁⣠⠄⣻⣿⣿⣿⣟
⠀⠀⠀⢀⣾⠀⡠⠎⠀⠀⠉⠀⠀⠈⠳⡀⠙⠃⠀⠀⣠⣾⡿⠊⠀⠀⠀⢀⣿⡿⢁⣴⡟⠁⢀⣿⣿⠿⣿⠋
⠀⠀⡰⠋⢹⠀⢇⠀⠀⠀⠀⠀⠀⠀⠀⠈⠑⠒⠒⠋⠉⠁⠀⠀⠀⠀⠀⣼⡟⠁⢈⣿⡅⢀⣼⡿⡟⠧⣿⠀
⠀⡼⠁⠀⠸⡇⠈⣷⣤⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⠟⢀⡠⠿⠁⡠⠚⣿⣿⠇⠀⣿⠀
⢸⡇⠀⠀⠀⢻⡄⢤⡉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠠⠋⣀⡴⠋⠀⢰⣿⡿⠀⢠⡏⠀
⠀⢿⡄⠀⠀⠀⠳⡀⠙⣶⣦⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠴⠟⠉⣹⠁⠀⣠⣿⣿⠃⠀⣸⠁⠀
⠀⠘⣿⣄⠀⠀⠀⠹⡀⠓⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣤⠞⠁⠀⠀⠰⠃⢀⣴⣿⣿⡏⠀⢠⡟⠀⠀
⠀⠀⢱⠈⢣⡀⠀⠀⢣⡀⠀⠀⠀⢀⣀⣀⣠⣤⣴⣶⠿⠟⠋⠁⠀⠀⠀⠀⣀⣴⣿⣿⣿⡟⢠⢀⣿⠁⠀⠀
⠀⠀⠈⣇⠀⠹⣦⡀⠀⠈⠉⠉⠙⢿⡟⡽⠃⢹⣿⣟⠦⢄⠀⠀⢀⣠⣴⣾⠿⠻⢿⣿⡟⠀⠀⣼⠇⠀⠀⠀
⠀⠀⠘⡍⢧⠀⠙⢿⣦⣀⠀⠀⢀⡞⣿⣄⠀⠀⠙⠿⣿⣦⣤⣶⡿⠟⠉⠀⠀⠀⠘⡎⢳⠐⠚⠛⠀⠀⠀⠀
'';
logo = pkgs.writeTextFile {
name = "logo";
text = ''
⠀⠀⠐⣄⠀⠀⢰⣿⣿⣿⣴⠏⠘⢠⢻⢯⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠈⣶⣄⡈⣿⣿⣿⡟⠀⠆⠃⢸⣿⣿⣿⣿⡿⢟⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣧⠘⣦⡄⢸⠻⠿⣛⣵⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⢻⣿⣿⣿⣿⣿⣿⣿⣾⡇⢧⣮⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⢸⣿⣿⣿⡿⢻⢿⣿⠏⢀⡼⣿⠿⠿⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⢀⣿⡿⠁⠀⣾⣞⡏⠀⣾⠁⠀⠀⠀⠀⠐⠛⠉⠾⠿⠿⣿⣟⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⠈⣿⡁⠀⠀⣿⣼⠀⢰⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠙⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⠀⡏⢹⡆⠀⣟⣹⢠⢸⠙⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⠀⣧⣌⣿⡀⢸⣻⣾⡟⠀⠈⠀⠀⠀⣀⣀⣀⣀⡀⠀⠀⠀⢠⠀⠈⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⠀⣿⣿⣿⡇⠀⢻⡟⠁⣠⣴⠾⠟⠛⠋⠉⠉⠀⠀⠀⠀⠀⠘⠂⣸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⠀⣿⣿⠻⡇⠀⠀⠧⠀⢀⣴⣶⣦⣤⣤⣤⣀⠀⠀⠀⠀⠀⠀⠄⣸⣿⣿⣿⣿⡿⠿⣿⣿⣿⣿⣿
⠀⠀⠀⠀⢸⠉⢇⣠⠇⠈⡆⠀⠀⢸⡿⠻⣿⠷⠆⠀⠨⠍⣷⢀⠄⠀⠀⠀⢹⣿⣿⠟⢁⣠⠄⣻⣿⣿⣿⣟
⠀⠀⠀⢀⣾⠀⡠⠎⠀⠀⠉⠀⠀⠈⠳⡀⠙⠃⠀⠀⣠⣾⡿⠊⠀⠀⠀⢀⣿⡿⢁⣴⡟⠁⢀⣿⣿⠿⣿⠋
⠀⠀⡰⠋⢹⠀⢇⠀⠀⠀⠀⠀⠀⠀⠀⠈⠑⠒⠒⠋⠉⠁⠀⠀⠀⠀⠀⣼⡟⠁⢈⣿⡅⢀⣼⡿⡟⠧⣿⠀
⠀⡼⠁⠀⠸⡇⠈⣷⣤⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⠟⢀⡠⠿⠁⡠⠚⣿⣿⠇⠀⣿⠀
⢸⡇⠀⠀⠀⢻⡄⢤⡉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠠⠋⣀⡴⠋⠀⢰⣿⡿⠀⢠⡏⠀
⠀⢿⡄⠀⠀⠀⠳⡀⠙⣶⣦⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠴⠟⠉⣹⠁⠀⣠⣿⣿⠃⠀⣸⠁⠀
⠀⠘⣿⣄⠀⠀⠀⠹⡀⠓⠦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣤⠞⠁⠀⠀⠰⠃⢀⣴⣿⣿⡏⠀⢠⡟⠀⠀
⠀⠀⢱⠈⢣⡀⠀⠀⢣⡀⠀⠀⠀⢀⣀⣀⣠⣤⣴⣶⠿⠟⠋⠁⠀⠀⠀⠀⣀⣴⣿⣿⣿⡟⢠⢀⣿⠁⠀⠀
⠀⠀⠈⣇⠀⠹⣦⡀⠀⠈⠉⠉⠙⢿⡟⡽⠃⢹⣿⣟⠦⢄⠀⠀⢀⣠⣴⣾⠿⠻⢿⣿⡟⠀⠀⣼⠇⠀⠀⠀
⠀⠀⠘⡍⢧⠀⠙⢿⣦⣀⠀⠀⢀⡞⣿⣄⠀⠀⠙⠿⣿⣦⣤⣶⡿⠟⠉⠀⠀⠀⠘⡎⢳⠐⠚⠛⠀⠀⠀⠀
'';
};
in
{
config = lib.mkIf cfg.fastfetchConfig.enable {
home.file.".config/fastfetch/asciiArt" = {
text = lib.mkForce asciiArt;
home.file.".config/fastfetch/logo" = {
source = lib.mkForce logo;
};
};
}
39 changes: 18 additions & 21 deletions profiles/totoro/fastfetchConfig.nix
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
{ config, lib, ... }:
{
config,
lib,
pkgs,
...
}:
let
cfg = config.customHomeManagerModules;
asciiArt = ''

⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⣿⡄⠀⠀⠀⠀⠀⠀⠀⣠⣄⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⣿⡇⠀⠀⠀⠀⠀⠀⢰⣿⣿⡄⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⣿⣿⣿⡇⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢘⣿⣿⣿⣯⣤⣤⣤⣀⣀⣸⣿⣿⣿⡇⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⡿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⣿⡏⢠⡦⠈⣿⣿⣿⣿⣿⣿⠟⠛⢻⣷⡄⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⢠⣿⣿⣿⣦⣤⣾⣿⣿⣿⣿⣿⣿⠀⠿⢀⣿⣷⠄⠀⠀⠀
⢠⣄⠀⠀⠀⣼⣿⡆⠀⠀⠀⠀⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣿⣿⣿⡇⠀⠀⠀
⢸⣿⣷⣄⢀⣿⣿⣿⠀⠀⠀⢀⣿⣿⣿⠿⠋⠉⠁⠀⠀⠈⠉⠉⠻⢿⣿⣿⣿⣿⣿⣷⠀⠀⠀
⠀⣿⣿⠿⣿⣿⡿⣛⢷⠀⠀⢸⣿⣿⠏⢀⣤⣄⠀⣠⣤⡄⠀⠀⠀⠀⢻⣿⣿⣿⣿⣿⣦⣄⠀
⠀⣿⣇⣀⣽⣿⣷⣤⣾⣧⠀⠘⣿⠏⠀⠛⠋⠙⠀⠛⠙⠛⠀⠾⠿⣷⢸⣿⣿⣿⣿⣿⣿⣿⡇
⢠⣿⣿⣿⣿⣿⣿⣿⣿⣿⡆⠀⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⡿⣿⣿⣿⣿⣿⡇
⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⠀⠐⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⡿⠁
⠀⢻⣿⣿⣿⣿⣿⣿⣿⡟⠀⠀⠀⠈⠢⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⣿⡿⠋⠀⠀
⠀⠀⠉⠛⠛⠛⠛⠛⠛⠁⠀⠀⠀⠀⠀⠘⠻⢲⠦⠤⠤⠀⠀⠀⠀⣤⢴⡿⠟⠁⠀⠀⠀⠀⠀
'';
logo =
let
image = pkgs.fetchurl {
url = "https://i.imgur.com/xCusJ6d.jpeg";
sha256 = "sha256-VSOsCTiZP9IEMN69qmhxs4obRVNxpbLf0zUOzz2vjoQ=";
};
in
"${image}";
in
{
config = lib.mkIf cfg.fastfetchConfig.enable {
home.file.".config/fastfetch/asciiArt" = {
text = lib.mkForce asciiArt;
home = {
file.".config/fastfetch/logo" = {
source = lib.mkForce logo;
};
};
};
}
Loading