1093 Commits

Author SHA1 Message Date
Z. Eilen
ae20cdcf04 macOS fix
macOS’s BSD readlink is different from GNU readlink, says: illegal option -- f
2018-12-04 21:34:53 +01:00
darealshinji
a563174735 Merge pull request #601 from elendil95/master
Adding support for LMDE 3
2018-11-30 13:50:43 +01:00
Elendil
0327e18730 Adding support for LMDE 3 2018-11-29 13:11:59 +01:00
SainoNamkho
75099939a7 Allow displaying multiple framebuffers in one line
In case the `/proc/fb` file is
    0 svgadrmfb
    1 VESA VGA
screenfetch might display as
       `/ossssso+/:-        -:/+osssso+-   GPU: svgadrmfb
    VESA
      `+sso+:-`                 `.-/+oso:
2018-11-29 03:11:19 +08:00
Citizen Kepler
c054437105 Fixed issue where make.conf can be a include directory 2018-11-12 18:48:48 -08:00
stonercough
d22cadae83 Fixed bug displaying font type on macos 2018-11-01 21:12:38 -04:00
darealshinji
9cd94afe26 Merge pull request #592 from justingallagher/fixgpuunknown
Set GPU to Not Found if Intel check fails
2018-10-26 11:53:46 +02:00
Justin Gallagher
0c8174eb29 Revert to GPU Unknown when intel chip is not recognized 2018-10-24 19:12:36 -07:00
Justin Gallagher
0d4505dad3 Add list of supported displays to --help output 2018-10-22 23:00:25 -07:00
Justin Gallagher
11b8ee6ea9 Set GPU to Not Found if intel check fails 2018-10-21 23:39:07 -07:00
Justin Gallagher
dc6a47c19f Fix some edge cases for counting snap packages 2018-10-03 07:52:53 +00:00
root
f2d57c3cf7 Grammar update 2018-09-19 03:09:51 -07:00
Brett Bohnenkamper
2391e4fbdf Merge pull request #583 from julianaito/master
Removed more useless pipes and other improvements
2018-09-02 21:52:11 -05:00
protonesso
3a205a6cee januslinux uses pkgutils 2018-07-30 16:55:44 +03:00
Charlène
e9872b2384 Removed some useless pipes and other improvements
Xorg-based desktops:

- Simplified the way we get screen resolution with `xdpyinfo`

FreeBSD:

- Modified packages count code
- Removed useless pipes for CPU detection
- Fixed pgrep flags for WM detection

NetBSD:

- Removed useless pipe for packages count code and fused with OpenBSD

DragonFlyBSD:

- Removed useless pipe for packages count code

Haiku:

- Removed useless pipes while getting additional OS version info, uptime and
  RAM.
- Simplified the way we get CPU, GPU and screen resolution infos

Android:

- Improved and simplified way to get the CPU model
2018-07-28 17:03:53 +02:00
Charlène
c144fe3f13 Removed some useless use of pipes
GNU/Linux (and other OSes using /proc/cpuinfo):
	* Modified the way we get CPU model
OpenBSD:
	* Modified the way we get GPU model
2018-07-26 20:09:30 +02:00
Kane You
c55a6f306e Fix GPU bug
Repair version
2018-07-24 16:27:11 +08:00
Izaya
444bb80fcb Fix memory size detection on Haiku 2018-07-13 05:03:57 +10:00
Kane You
62d81ad6b2 fix gpu bug
Fix gpu detect on some noGPU machine bug
2018-07-06 21:26:43 +08:00
Edward Betts
744e1b0e6b Correct a spelling mistake. 2018-07-05 06:28:38 +01:00
Alex Baranowski
6faf543796 Remove doubled EuroLinux in supported distros 2018-06-22 13:33:15 +02:00
Alex Baranowski
01949ad468 Fix support for Scientific Linux 2018-06-22 10:12:55 +00:00
Alex Baranowski
101b2b02b5 Add support for EuroLinux 2018-06-21 13:58:28 +02:00
Chris Lamb
71b30c65fb Correct informations → information typo. 2018-06-17 15:52:47 +02:00
Jorge Maldonado Ventura
798160c70a Remove trailing whitespaces 2018-06-16 23:20:55 +02:00
protonesso
c60131a386 add januslinux 2018-06-16 19:00:38 +03:00
pklebba
1882672888 Removed unnecessary conditional 2018-06-05 23:18:29 +02:00
darealshinji
eaecb12da7 display full Ubuntu release codename 2018-06-02 18:30:39 +02:00
darealshinji
edca6878d6 set some variables as local 2018-06-02 17:55:44 +02:00
darealshinji
35c3aa680a count snap packages (close #560) 2018-06-02 17:40:16 +02:00
darealshinji
c4992055ae on Linux (or similar) use free(1) to get RAM (close #542) 2018-06-02 17:18:52 +02:00
darealshinji
ead8bd8fac set GIO_EXTRA_MODULES (close #549) 2018-06-02 17:09:48 +02:00
darealshinji
79a1d16146 fix lsb_release detection 2018-06-02 05:04:42 +02:00
darealshinji
8792ae0170 grep 2018-06-02 04:58:03 +02:00
darealshinji
c7f03b3d71 indentation 2018-06-02 04:12:09 +02:00
darealshinji
64b3b57fe1 some theme detection fixes and lots of cosmetics 2018-06-02 03:49:44 +02:00
darealshinji
93c594c838 New distro: PureOS 2018-06-02 01:11:52 +02:00
stevestock
0a7be6fd91 more changes per @darealshinji comments 2018-06-01 14:03:05 -04:00
stevestock
42f171c210 changes per @darealshinji comments 2018-05-31 22:08:41 -04:00
stevestock
5bdc526294 shellcheck fixes 2018-05-30 21:08:52 -04:00
Allan Jude
8fc334e54a fix memory statistics on FreeBSD
The syntax '/ 1024^2' does not work in bash. The other instances of it are piped to bc, where it does work.

Switch to '/ 1024 / 1024' to scale the value to megabytes.

```
bash> echo "ram=$(sysctl -n hw.physmem)"
ram=34194522112
bash> echo "ram_mb=$(( $(sysctl -n hw.physmem) / 1024))"
ram_mb=33393088
bash> echo "ram_mb=$(( $(sysctl -n hw.physmem) / 1024^2))"
ram_mb=33393090
bash> echo "ram_mb=$(( $(sysctl -n hw.physmem) / 1024 / 1024))"
ram_mb=32610
```

This makes the output correct.

On my machine with 32GB of ram:
Before:
```
RAM: 30618762MiB / 33393090MiB
```

After:
```
RAM: 30057MiB / 32768MiB
```
2018-05-21 14:02:25 -04:00
Brett Bohnenkamper
3df218521f This should fix PR #550. Secondary WM check was preventing proper formatting and name check of WMs. 2018-04-13 00:20:33 -05:00
Brett Bohnenkamper
89e7433c45 Proper GNOME version detection. 2018-04-13 00:14:53 -05:00
Brett Bohnenkamper
427964efc8 Oops, forgot a fi. 2018-04-12 23:47:27 -05:00
Brett Bohnenkamper
2d57e78da0 Readability update numero two. I've attempted to reduce long lines everywhere except 1) long awk sequences and 2) long embedded commands. 2018-04-12 23:41:04 -05:00
Brett Bohnenkamper
f6c488ca25 First wave of readability. Turn *LONG* arrays into multiline declarations. 2018-04-12 22:52:11 -05:00
makise-homura
4fb341797a Fixed MCST (OS Elbrus) logo to a modern one 2018-03-29 22:00:33 +03:00
makise-homura
43dba20551 Added non-standard hwmon path for OS Elbrus
It has `/sys/class/hwmon/hwmonX/device/name` file
instead of `/sys/class/hwmon/hwmonX/name`.
2018-03-19 17:24:58 +03:00
makise-homura
09998b22f0 Fixed detection of GTK+2/3 and icon themes 2018-03-19 16:09:13 +03:00
makise-homura
811af4bf37 Added support for MCST OS Elbrus 2018-03-19 16:02:37 +03:00