Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Phate6660/scalafetch
Neofetch alternative in Scala.
https://github.com/Phate6660/scalafetch
Last synced: about 1 month ago
JSON representation
Neofetch alternative in Scala.
- Host: GitHub
- URL: https://github.com/Phate6660/scalafetch
- Owner: Phate6660
- License: other
- Created: 2020-08-21T20:56:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-29T19:51:19.000Z (about 4 years ago)
- Last Synced: 2024-08-04T04:06:09.103Z (5 months ago)
- Language: Scala
- Homepage:
- Size: 28.3 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-fetch - scalafetch - Neofetch alternative in Scala. `Scala` (Operation System / Cross Platform)
README
## scalafetch
Learning Scala, by implementing a neofetch alternative.
## help
`sbt:scalafetch> run -H`
```
-c display cpu
-d display the distro
-e display $EDITOR
-g display gpu model
-H display this help
-h display hostname
-k display the kernel
-m display currently playing music in mpd
-s display the shell
-U display the user
-u display uptime
```## Current output (from my machine)
`sbt:scalafetch> run -c true -d true -e true -g true -h true -k true -m true -s true -U true -u true`
```
CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
Distro: Gentoo
Editor: /usr/bin/emacsclient
GPU: AMD/ATI Oland Radeon HD 8570 / R7 240/340 OEM (rev 87)
Hostname: gentoo
Kernel: 5.4.52
Shell: /bin/bash
Uptime: 6h 2m
User: valley
Music: Primus - Sailing the Seas of Cheese - Here Come the Bastards
```