Skip to content

Commit

Permalink
replace cursed neowofetch config with equally cursed but ~5-10x faste…
Browse files Browse the repository at this point in the history
…r fastfetch config
  • Loading branch information
leo60228 committed Nov 21, 2024
1 parent 33c8227 commit f58e44e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
26 changes: 26 additions & 0 deletions files/fastfetch.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"modules": [
"title",
"separator",
"os",
{"type": "command", "key": "Host", "text": "fastfetch --pipe -l none --key-type none -s host --host-format '{name}' | sed 's/^Laptop/Framework &/;T;s/7040S/7040 S/'"},
"kernel",
"uptime",
"shell",
{"type": "display", "compactType": "original-with-refresh-rate"},
{"type": "command", "key": "DE", "text": "[ -z \"$XDG_SESSION_TYPE\" ] && exit; echo \"Plasma $(dbus-send --dest=org.kde.plasmashell --print-reply=literal /MainApplication org.freedesktop.DBus.Properties.Get string:org.qtproject.Qt.QCoreApplication string:applicationVersion | sed 's/^ *variant *//') [KF $(dbus-send --dest=org.kde.kded6 --print-reply=literal /MainApplication org.freedesktop.DBus.Properties.Get string:org.qtproject.Qt.QCoreApplication string:applicationVersion | sed 's/^ *variant *//')] ($XDG_SESSION_TYPE)\""}, /// lol lmao
{"type": "command", "key": "CPU", "text": "fastfetch --pipe -l none --key-type none -s cpu --host-format '{name}' | sed 's;w/ Radeon.*Graphics ;;'"},
{"type": "gpu", "driverSpecific": true, "format": "{name} ({core-count}) @ {frequency} ({driver})"},
"memory",
"disk",
{"type": "battery", "key": "Battery"},
{"type": "localip", "compact": true, "showPrefixLen": false}
],
"logo": {
"color": {
"1": "38;2;74;107;175",
"2": "38;2;126;177;221"
}
}
}
6 changes: 3 additions & 3 deletions home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
with pkgs;
if small then
[
leoPkgs.hyfetch
fastfetch
libwebp
ripgrep
(callPackage ./neovim { })
Expand Down Expand Up @@ -67,7 +67,7 @@
ctrtool
hactool
pdm
leoPkgs.hyfetch
fastfetch
libsForQt5.kdelibs4support
qpwgraph
htop
Expand Down Expand Up @@ -373,7 +373,7 @@
eval $(hub alias -s)
if [ -z "$NEOFETCH_RAN" ]; then
neowofetch --config ${./files/neofetch.conf}
fastfetch --config ${./files/fastfetch.jsonc}
export NEOFETCH_RAN=1
fi
'';
Expand Down

0 comments on commit f58e44e

Please sign in to comment.