feat(programs): add fastfetch configuration file
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
./ddcbacklight.nix
|
./ddcbacklight.nix
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
./eza.nix
|
./eza.nix
|
||||||
|
./fastfetch.nix
|
||||||
./fish.nix
|
./fish.nix
|
||||||
./fzf.nix
|
./fzf.nix
|
||||||
./gh.nix
|
./gh.nix
|
||||||
|
|||||||
51
home/programs/fastfetch.nix
Normal file
51
home/programs/fastfetch.nix
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
device,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
nextcloudWallpapers = name: config.home.homeDirectory + "/Nextcloud/Wallpapers/" + name;
|
||||||
|
in {
|
||||||
|
programs = {
|
||||||
|
fastfetch = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
logo = lib.mkIf (device.is "ryu") {
|
||||||
|
source = nextcloudWallpapers "hornet.png";
|
||||||
|
width = 70;
|
||||||
|
};
|
||||||
|
modules = [
|
||||||
|
"title"
|
||||||
|
"separator"
|
||||||
|
"os"
|
||||||
|
"host"
|
||||||
|
"kernel"
|
||||||
|
"uptime"
|
||||||
|
"packages"
|
||||||
|
"shell"
|
||||||
|
"display"
|
||||||
|
"de"
|
||||||
|
"wm"
|
||||||
|
"wmtheme"
|
||||||
|
"theme"
|
||||||
|
"icons"
|
||||||
|
"cursor"
|
||||||
|
"terminal"
|
||||||
|
"terminalfont"
|
||||||
|
"cpu"
|
||||||
|
"gpu"
|
||||||
|
"memory"
|
||||||
|
"swap"
|
||||||
|
"disk"
|
||||||
|
"battery"
|
||||||
|
"poweradapter"
|
||||||
|
"locale"
|
||||||
|
"break"
|
||||||
|
"colors"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
fish.shellAbbrs.ff = "fastfetch";
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user