Compare commits
2 commits
874852ca07
...
b2e95eebd7
| Author | SHA1 | Date | |
|---|---|---|---|
| b2e95eebd7 | |||
| d077f4bfd9 |
2 changed files with 14 additions and 2 deletions
|
|
@ -57,7 +57,7 @@
|
|||
# i be on my puter fr
|
||||
myputer = nixpkgs.lib.nixosSystem {
|
||||
# nix passes these to every single module
|
||||
specialArgs = {inherit inputs;};
|
||||
specialArgs = {inherit inputs pkgs-unstable;};
|
||||
|
||||
modules = [
|
||||
./hosts/myputer
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
|
||||
# my laptop 0w0
|
||||
lolcathost = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs;};
|
||||
specialArgs = {inherit inputs pkgs-unstable;};
|
||||
|
||||
modules = [
|
||||
./hosts/lolcathost
|
||||
|
|
|
|||
12
scripts/fontgrep
Executable file
12
scripts/fontgrep
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
function fontgrep {
|
||||
fc-list \
|
||||
| grep $@ \
|
||||
| awk '{$1=""; print substr($0, 2, length($0)-1) }' \
|
||||
| grep -oE '^\s*[^,]+' \
|
||||
| sort \
|
||||
| uniq
|
||||
}
|
||||
|
||||
fontgrep $@
|
||||
Loading…
Add table
Add a link
Reference in a new issue