🖌️ Styled Fastfetch, more info in README, alias for fastfetch
This commit is contained in:
parent
29ac28bd15
commit
fd8ca5a8c3
BIN
Catppuccin.png
Normal file
BIN
Catppuccin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
20
README.md
20
README.md
@ -4,17 +4,25 @@ My NixOS configurations with dotfiles for my desktop
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Includes
|
## Uses
|
||||||
|
|
||||||
| | |
|
| | |
|
||||||
|--------|------------|
|
| ------ | ---------- |
|
||||||
| WM | Hyprland |
|
| WM | Hyprland |
|
||||||
| Shell | Fish |
|
| Shell | Fish |
|
||||||
| Prompt | Starship |
|
| Prompt | Starship |
|
||||||
| Theme | Catppuccin |
|
| Theme | Catppuccin |
|
||||||
|
| GPU | NVidia |
|
||||||
|
| Panel | Hyprpanel |
|
||||||
|
| Runner | Rofi |
|
||||||
|
| Fetch | Fastfetch |
|
||||||
|
|
||||||
|
Requires Nix-channel with [NixOS 24.11](https://nixos.org/)
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
||||||
|
Scripts will not run unless the necessary packages have been added to the path, either in a shell or by running nixos-rebuild
|
||||||
|
|
||||||
Format all .nix files
|
Format all .nix files
|
||||||
|
|
||||||
```Shell
|
```Shell
|
||||||
@ -36,3 +44,11 @@ Rebuild and switch Nix configuration
|
|||||||
```Shell
|
```Shell
|
||||||
./rebuild
|
./rebuild
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Update and switch
|
||||||
|
|
||||||
|
- Will update the flakes and nix-channel, then switch if there are no errors
|
||||||
|
|
||||||
|
```Shell
|
||||||
|
./update
|
||||||
|
```
|
||||||
|
@ -17,6 +17,7 @@ in
|
|||||||
./cursors.nix
|
./cursors.nix
|
||||||
./default-applications.nix
|
./default-applications.nix
|
||||||
./development
|
./development
|
||||||
|
./fastfetch.nix
|
||||||
./fish.nix
|
./fish.nix
|
||||||
./freetube.nix
|
./freetube.nix
|
||||||
./gtk.nix
|
./gtk.nix
|
||||||
|
57
home-manager/fastfetch.nix
Normal file
57
home-manager/fastfetch.nix
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
{
|
||||||
|
programs.fastfetch = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
logo = {
|
||||||
|
source = "${../Catppuccin.png}";
|
||||||
|
type = "kitty";
|
||||||
|
height = 18;
|
||||||
|
padding.top = 2;
|
||||||
|
};
|
||||||
|
display.separator = " ";
|
||||||
|
modules =
|
||||||
|
let
|
||||||
|
keyColor = "34";
|
||||||
|
module = type: key: {
|
||||||
|
inherit type key keyColor;
|
||||||
|
};
|
||||||
|
formatModule = type: key: format: {
|
||||||
|
inherit
|
||||||
|
type
|
||||||
|
key
|
||||||
|
format
|
||||||
|
keyColor
|
||||||
|
;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
[
|
||||||
|
"break"
|
||||||
|
"break"
|
||||||
|
{
|
||||||
|
type = "title";
|
||||||
|
keyWidth = 10;
|
||||||
|
}
|
||||||
|
"break"
|
||||||
|
(module "os" " ")
|
||||||
|
(module "kernel" " ")
|
||||||
|
(formatModule "packages" " " "{} (nixpkgs)")
|
||||||
|
(module "shell" " ")
|
||||||
|
(module "terminal" " ")
|
||||||
|
(module "wm" " ")
|
||||||
|
(module "theme" " ")
|
||||||
|
(module "cursor" " ")
|
||||||
|
(module "terminalfont" " ")
|
||||||
|
(module "uptime" " ")
|
||||||
|
(formatModule "datetime" " " "{1}-{3}-{11}")
|
||||||
|
(module "cpu" " ")
|
||||||
|
(module "gpu" " ")
|
||||||
|
(module "sound" " ")
|
||||||
|
(module "lm" " ")
|
||||||
|
"break"
|
||||||
|
"colors"
|
||||||
|
"break"
|
||||||
|
"break"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -24,7 +24,8 @@
|
|||||||
shellAliases = {
|
shellAliases = {
|
||||||
# Transfer shell config to target device
|
# Transfer shell config to target device
|
||||||
ssh = "kitty +kitten ssh";
|
ssh = "kitty +kitten ssh";
|
||||||
nix-shell = "nix-shell --run fish"; # Start nix-shells using fish
|
nix-shell = "nix-shell --run fish"; # Start nix-shells using fishcd
|
||||||
|
fetch = "fastfetch";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user