diff --git a/modules/home/rsydn/base.nix b/modules/home/rsydn/base.nix index cc50465..bf9c028 100644 --- a/modules/home/rsydn/base.nix +++ b/modules/home/rsydn/base.nix @@ -1,5 +1,6 @@ { pkgs, lib, ... }: { imports = [ + ./programs/fastfetch.nix ./programs/helix.nix ./programs/neovim.nix ./shell/tmux.nix diff --git a/modules/home/rsydn/programs/fastfetch.nix b/modules/home/rsydn/programs/fastfetch.nix new file mode 100644 index 0000000..949c082 --- /dev/null +++ b/modules/home/rsydn/programs/fastfetch.nix @@ -0,0 +1,111 @@ +{ config, lib, pkgs, ... }: + +{ + home.packages = [ pkgs.fastfetch ]; + + # Copy the custom logo file + xdg.configFile."fastfetch/oguri-logo.txt".source = ./fastfetch/oguri-logo.txt; + + xdg.configFile."fastfetch/config.jsonc".text = builtins.toJSON { + "$schema" = + "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json"; + + logo = { + type = "file"; + source = "~/.config/fastfetch/oguri-logo.txt"; + padding = { + top = 1; + right = 2; + }; + }; + + display = { + separator = " → "; + color = { + keys = "cyan"; + title = "blue"; + }; + }; + + modules = [ + { + type = "title"; + format = "{user-name}@{host-name}"; + } + { + type = "separator"; + string = "─"; + } + { + type = "os"; + key = "OS"; + keyColor = "cyan"; + } + { + type = "kernel"; + key = "Kernel"; + } + { + type = "uptime"; + key = "Uptime"; + } + { + type = "packages"; + key = "Packages"; + } + { + type = "shell"; + key = "Shell"; + } + { + type = "display"; + key = "Display"; + compactType = "scaled"; + } + { + type = "de"; + key = "DE"; + } + { + type = "wm"; + key = "WM"; + } + { + type = "terminal"; + key = "Terminal"; + } + { + type = "terminalfont"; + key = "Font"; + } + { + type = "cpu"; + key = "CPU"; + temp = true; + } + { + type = "gpu"; + key = "GPU"; + temp = true; + } + { + type = "memory"; + key = "Memory"; + } + { + type = "disk"; + key = "Disk (/)"; + folders = "/"; + } + { + type = "separator"; + string = "─"; + } + { + type = "colors"; + paddingLeft = 2; + symbol = "circle"; + } + ]; + }; +} diff --git a/modules/home/rsydn/programs/fastfetch/oguri-logo.txt b/modules/home/rsydn/programs/fastfetch/oguri-logo.txt new file mode 100644 index 0000000..d49bea4 --- /dev/null +++ b/modules/home/rsydn/programs/fastfetch/oguri-logo.txt @@ -0,0 +1,18 @@ +⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣾⣽⣶⣿⣏⣿⣿ +⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣼⣿ +⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣽⣫ +⣿⣿⣿⣿⣿⣿⣿⣿⣿⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ +⣿⣿⣿⣿⣿⡿⣹⣿⡇⢸⣿⢿⣿⣿⡇⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ +⣿⣿⣿⣿⡿⣁⣇⣿⠀⠈⡟⠘⣿⣿⡇⠸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ +⣿⣿⣿⣟⢀⠿⡏⣽⣴⣦⣿⠀⣹⣿⡇⠀⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ +⣿⣿⣿⣿⣿⣷⣶⣿⣿⣿⣿⣧⣿⣿⣷⣀⡀⣿⡟⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⣸⣿⣿⣿⣿⣿⣿ +⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣿⣿⣿⣿⣿⣷⣞⣿⣿⣿⣿⣿⡿⣹⠏⠀⣿⠃⣿⣿⣿⣿⣿ +⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⣿⣿⣿⣯⢀⣇⣀⡸⠁⢸⠏⢿⣿⣿⣿ +⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢿⣿⣿⣏⡉⠻⣿⣿⡇⢠⣿⣄⢸⣿⣿⣿ +⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏⣸⣿⣿⣿⣿⣿⣦⣭⣑⢛⠋⠁⢸⣿⣿⣿ +⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢸⣿⣿⣿ +⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢯⣿⣿⣿⣿ +⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⢿⣿⣿⣿⣿ +⣿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠋⢠⣿⣿⣿⣿⣿ +⣿⣷⣿⣿⡿⠿⠿⠟⠛⣻⣿⣿⣿⣿⣿⣿⣿⡿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⣠⣿⣿⣿⣟⣿⣿ +⣿⣏⠁⢀⣶⣶⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣆⠀⠈⠁⠉⠛⢿⣿⣿⣿⣴⣿⣿⠿⢋⡾⢡⣿