aboutsummaryrefslogtreecommitdiff
path: root/modules/home/hyprland/chernobyl/fastfetch.nix
blob: 1e90196265a46187f601641e5a1519cd58f4d756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{ pkgs, ... }:

{
  programs.fastfetch = {
    enable = true;
    extraConfig = ''
{
  "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
  "logo": {
      "padding": { "top": 2 },
      "type": "small"
  },
  "display": {
      "separator": " -> "
  },
  "modules": [
      "break",
      {
          "type": "title",
          "keyWidth": 10,
          "format": "         {6}{7}{8}"
      },
      {
          "type": "custom",
          "format": " ─────────────────────────── "
      },
      {
          "type": "kernel",
          "key": " ",
          "keyColor": "yellow"
      },
      {
          "type": "command",
          "key": " ",
          "keyColor": "blue",
          "text": "echo Jakoolit: v$DOTS_VERSION"
      },
      {
          "type": "wm",
          "key": " ",
          "keyColor": "magenta"
      },
      {
          "type": "shell",
          "key": " ",
          "keyColor": "yellow"
      },
      {
          "type": "terminal",
          "key": " ",
          "keyColor": "blue"
      },
      {
          "type": "memory",
          "key": "󰍛 ",
          "keyColor": "magenta",
          "format": "{1} / {2}"
      },
      {
          "type": "uptime",
          "key": "󰔛 ",
          "keyColor": "green"
      },
      {
          "type": "command",
          "key": "󱦟 ",
          "keyColor": "magenta",
          "text": "echo $(( ($(date +%s) - $(stat -c %W /)) / 86400 )) days"
      },
      {
          "type": "custom",
          "format": " ─────────────────────────── "
      },
      {
          "type": "custom",
          "format": "   \u001b[31m  \u001b[32m  \u001b[33m  \u001b[34m  \u001b[35m  \u001b[36m  \u001b[37m  \u001b[90m "
      },
      "break"
  ]
}
    '';
  };
}