MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/sysfetch/comments/rmmtqu/ifetch_a_simple_fetch_tool_written_in_bash/
r/sysfetch • u/CrypticSky • Dec 23 '21
10 comments sorted by
2
First fetch tool I've ever written.Get it here: https://gist.github.com/ParallaxWave/2dfe7cfda2d4e56512279f59fd02dfe9
1 u/legkamran Dec 23 '21 it looks cool
1
it looks cool
I don't understand why so many fetch scripts (no matter the langauge) always use external commands like uname, grep, <package manager>, etc.
for the love of god, WHY?
1 u/[deleted] Dec 23 '21 They have to. Hell, in shell scripts, even echo is an external command. That's how the POSIX shell works. 4 u/[deleted] Dec 23 '21 no, that's not what I meant. eg, hostname, kernel version, window manager, cpu, memory, are all in /proc! you don't have to use uname or free with grep chained to it, take a look at pfetch/fet.sh 1 u/nivaddo Dec 23 '21 why u ask? Pretty simple it is an easy script to start learning from. 1 u/[deleted] Dec 23 '21 good point, maybe once the skill is advanced one can try other more simpler ways to get information 1 u/nivaddo Dec 23 '21 yes most ppl dont know u can pull alot of info from /proc nor do they know u can use read in a loop to get the lines
They have to. Hell, in shell scripts, even echo is an external command. That's how the POSIX shell works.
4 u/[deleted] Dec 23 '21 no, that's not what I meant. eg, hostname, kernel version, window manager, cpu, memory, are all in /proc! you don't have to use uname or free with grep chained to it, take a look at pfetch/fet.sh
4
no, that's not what I meant. eg, hostname, kernel version, window manager, cpu, memory, are all in /proc! you don't have to use uname or free with grep chained to it, take a look at pfetch/fet.sh
why u ask? Pretty simple it is an easy script to start learning from.
1 u/[deleted] Dec 23 '21 good point, maybe once the skill is advanced one can try other more simpler ways to get information 1 u/nivaddo Dec 23 '21 yes most ppl dont know u can pull alot of info from /proc nor do they know u can use read in a loop to get the lines
good point, maybe once the skill is advanced one can try other more simpler ways to get information
1 u/nivaddo Dec 23 '21 yes most ppl dont know u can pull alot of info from /proc nor do they know u can use read in a loop to get the lines
yes most ppl dont know u can pull alot of info from /proc nor do they know u can use read in a loop to get the lines
Can I ask how you got pacman & the ghost to display at the bottom of your fetch....
1 u/H2Sadd9 Jan 19 '22 I want the font too lol
I want the font too lol
2
u/CrypticSky Dec 23 '21
First fetch tool I've ever written.
Get it here: https://gist.github.com/ParallaxWave/2dfe7cfda2d4e56512279f59fd02dfe9
2
u/[deleted] Dec 23 '21
I don't understand why so many fetch scripts (no matter the langauge) always use external commands like uname, grep, <package manager>, etc.
for the love of god, WHY?
1
u/furycd001 Jan 09 '22
Can I ask how you got pacman & the ghost to display at the bottom of your fetch....