forked from foxora/nix
made fastfetch so pretty
This commit is contained in:
parent
6240cdd4c6
commit
f7a56bc7bb
5 changed files with 151 additions and 11 deletions
|
|
@ -68,6 +68,12 @@
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# copies the ascii art into .local/share/ascii-art :3
|
||||||
|
home.file.".local/share/ascii-art" = {
|
||||||
|
source = root + "/homes/data/ascii-art";
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
home.file.".mozilla/native-messaging-hosts/tridactyl.json".source =
|
home.file.".mozilla/native-messaging-hosts/tridactyl.json".source =
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,3 @@
|
||||||
⢠⡎⠀⣠⢈⡆⠀⠀⡆⡠⠊⠀⢰⠁⠀⠈⡰⢺⠉⡏⠂⠉⢲⠖⠛⠲⢄⡀
|
⢠⡎⠀⣠⢈⡆⠀⠀⡆⡠⠊⠀⢰⠁⠀⠈⡰⢺⠉⡏⠂⠉⢲⠖⠛⠲⢄⡀
|
||||||
⠘⢇⡀⠙⠋⠀⢀⡠⢏⠁⢴⣆⠈⠒⠶⢲⠁⠈⢀⣇⠀⠀⣸⢃⡴⠆⢀⡇
|
⠘⢇⡀⠙⠋⠀⢀⡠⢏⠁⢴⣆⠈⠒⠶⢲⠁⠈⢀⣇⠀⠀⣸⢃⡴⠆⢀⡇
|
||||||
⠀⠈⠙⠒⠶⠖⠋⠁⠈⠐⠚⠁⠀⠀⠀⠘⠦⠤⠊⠀⠉⠉⠁⠀⠑⠒⠊⠀
|
⠀⠈⠙⠒⠶⠖⠋⠁⠈⠐⠚⠁⠀⠀⠀⠘⠦⠤⠊⠀⠉⠉⠁⠀⠑⠒⠊⠀
|
||||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
||||||
|
|
|
||||||
128
homes/modules/shell/fastfetch/themes/laimu.jsonc
Normal file
128
homes/modules/shell/fastfetch/themes/laimu.jsonc
Normal file
|
|
@ -0,0 +1,128 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||||
|
"logo": {
|
||||||
|
"type": "auto",
|
||||||
|
"source": "nixos",
|
||||||
|
},
|
||||||
|
"display": {
|
||||||
|
"separator": " > ",
|
||||||
|
"constants": [],
|
||||||
|
},
|
||||||
|
"modules": [
|
||||||
|
{
|
||||||
|
"type": "title",
|
||||||
|
"format": "╭─────╯ {user-name}@{host-name} ╰───────────────╌╌╌┄┄┄┈┈┈",
|
||||||
|
"outputColor": "cyan",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "os",
|
||||||
|
"key": "│ os",
|
||||||
|
"keyColor": "cyan",
|
||||||
|
"format": "{name} {version}",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "kernel",
|
||||||
|
"key": "│ kernel",
|
||||||
|
"keyColor": "cyan",
|
||||||
|
"format": "{sysname} {arch} - {release}",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "uptime",
|
||||||
|
"key": "│ uptime",
|
||||||
|
"keyColor": "cyan",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "packages",
|
||||||
|
"key": "│ pkgs",
|
||||||
|
"keyColor": "cyan",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cpu",
|
||||||
|
"key": "│ cpu",
|
||||||
|
"keyColor": "magenta",
|
||||||
|
"temp": true,
|
||||||
|
"format": "{name} {cores-physical}c/{cores-logical}t @ {freq-max} ({temperature})",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "gpu",
|
||||||
|
"key": "│ gpu{1}",
|
||||||
|
"keyColor": "magenta",
|
||||||
|
"driverSpecific": false,
|
||||||
|
"detectionMethod": "pci",
|
||||||
|
"temp": true,
|
||||||
|
"percent": {
|
||||||
|
"green": 50,
|
||||||
|
"yellow": 80,
|
||||||
|
"type": 0
|
||||||
|
},
|
||||||
|
"format": "{name} ({temperature}) [{type}]",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "memory",
|
||||||
|
"key": "│ memory",
|
||||||
|
"keyColor": "magenta",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "swap",
|
||||||
|
"key": "│ swap",
|
||||||
|
"keyColor": "magenta",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "disk",
|
||||||
|
"key": "│ disk({1})",
|
||||||
|
"keyColor": "magenta",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "shell",
|
||||||
|
"key": "│ shell",
|
||||||
|
"keyColor": "green",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "terminal",
|
||||||
|
"key": "│ term",
|
||||||
|
"keyColor": "green",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "wm",
|
||||||
|
"key": "│ wm",
|
||||||
|
"keyColor": "green",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "terminalfont",
|
||||||
|
"key": "│ font",
|
||||||
|
"keyColor": "green",
|
||||||
|
"format": "{name}",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "locale",
|
||||||
|
"key": "│ locale",
|
||||||
|
"keyColor": "green",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "title",
|
||||||
|
"format": "├─────────────────────────────────────────╌╌╌┄┄┄┈┈┈",
|
||||||
|
"outputColor": "red",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "command",
|
||||||
|
"key": "│",
|
||||||
|
"keyWidth": 3,
|
||||||
|
"keyColor": "red",
|
||||||
|
"shell": "bash",
|
||||||
|
"text": "for i in {0..7}; do printf \"\\e[4%dm \\e[0m\" $i; done",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "command",
|
||||||
|
"key": "│",
|
||||||
|
"keyWidth": 3,
|
||||||
|
"keyColor": "red",
|
||||||
|
"shell": "bash",
|
||||||
|
"text": "for i in {0..7}; do printf \"\\e[10%dm \\e[0m\" $i; done",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "title",
|
||||||
|
"format": "╰─────────────────────────────────────────╌╌╌┄┄┄┈┈┈",
|
||||||
|
"outputColor": "red",
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{upkgs, ...}: {
|
{ upkgs, ... }:
|
||||||
|
{
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
|
|
@ -14,16 +15,22 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
initContent = ''
|
initContent = ''
|
||||||
# yazi wrapper!!!
|
# yazi wrapper!!!
|
||||||
function yazi() {
|
function yazi() {
|
||||||
local tmp="$(mktemp -p "/run/user/$UID" -t "yazi-cwd.XXXXXX")" cwd
|
local tmp="$(mktemp -p "/run/user/$UID" -t "yazi-cwd.XXXXXXXX")" cwd
|
||||||
command yazi "$@" --cwd-file="$tmp"
|
command yazi "$@" --cwd-file="$tmp"
|
||||||
IFS= read -r -d ''' cwd < "$tmp"
|
IFS= read -r -d ''' cwd < "$tmp"
|
||||||
[ -n "$cwd" ] && [ "$cwd" != "$PWD" ] && builtin cd -- "$cwd"
|
[ -n "$cwd" ] && [ "$cwd" != "$PWD" ] && builtin cd -- "$cwd"
|
||||||
rm -f -- "$tmp"
|
rm -f -- "$tmp"
|
||||||
}
|
}
|
||||||
|
|
||||||
hyfetch # oh i'm so gay!! :3
|
# oh i'm so gay!! :3
|
||||||
|
function hf() {
|
||||||
|
local queer_flags=('genderfae' 'lesbian' 'xenogender' 'transgender' 'transfeminine' 'transbian')
|
||||||
|
local ascii_art=('fox-1.txt' 'fox-2.txt' 'fox-3.txt' 'blackhole-1.txt' 'butterfly-4.txt' 'butterfly-7.txt' 'flower-3.txt' 'flower-4.txt')
|
||||||
|
hyfetch --ascii-file="$XDG_DATA_HOME/ascii-art/$ascii_art[RANDOM % $#ascii_art + 1]" --preset="$queer_flags[RANDOM % $#queer_flags + 1]" --args="--config themes/laimu.jsonc"
|
||||||
|
}
|
||||||
|
hf
|
||||||
'';
|
'';
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue