Commit Graph

1318 Commits

Author SHA1 Message Date
darealshinji
e1b388dd0a Merge pull request #570 from lamby/informations-typo
Correct informations → information typo.
2018-06-17 22:26:42 +02:00
Chris Lamb
71b30c65fb Correct informations → information typo. 2018-06-17 15:52:47 +02:00
darealshinji
ca3274824e Merge pull request #569 from jorgesumle/master
Remove trailing whitespaces
2018-06-17 00:16:14 +02:00
Jorge Maldonado Ventura
798160c70a Remove trailing whitespaces 2018-06-16 23:20:55 +02:00
darealshinji
26e833be28 Merge pull request #567 from protonesso/master
add januslinux
2018-06-16 19:33:56 +02:00
protonesso
c60131a386 add januslinux 2018-06-16 19:00:38 +03:00
darealshinji
4f63613f37 Merge pull request #564 from pklebba/master
Removed unnecessary conditional
2018-06-06 14:07:37 +02: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
darealshinji
ebbf97f5cb Merge pull request #561 from stevestock/master
shellcheck fixes
2018-06-01 23:58:42 +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
darealshinji
e881393f5f Merge pull request #559 from allanjude/patch-1
fix memory statistics on FreeBSD
2018-05-21 23:33:51 +02: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
darealshinji
522c9c013b Merge pull request #548 from makise-homura/oselbrus
Added support of MCST OS Elbrus
2018-03-30 11:09:43 +02: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
darealshinji
8346a75068 fix "unary operator expected" issue
closing #537
2018-03-06 23:44:50 +01:00
darealshinji
bf884e9987 bump copyright year 2018-02-20 03:00:23 +01:00
darealshinji
906ac689db Merge pull request #543 from mika46/wsl-full-support
Full support of the final version of the Windows Subsystem for Linux
2018-02-06 19:02:45 +01:00
mika46
3038f6f7bf Full support of the final version of the Windows Subsystem for Linux (with others distributions than Ubuntu) 2018-02-06 17:34:14 +01:00
darealshinji
3b7dce94d7 fix Shmem typo (close #538) 2018-01-30 06:42:16 +01:00
darealshinji
ea9f7886aa tricolored Ubuntu logo 2017-12-12 12:31:10 +01:00
darealshinji
e1a90cc33a Check for /usr/lib/os-release
I've added checks for /usr/lib/os-release only in 2 places for now.
2017-12-12 12:25:14 +01:00
darealshinji
58ce1db9d0 Update README.mkdn 2017-12-06 13:03:52 +01:00
darealshinji
e2fd2b9a4e Merge pull request #532 from syskill/windows-temp-fix
$temp is an environment variable on Windows
2017-11-17 14:52:56 +01:00
Ben Slusky
daaa20d639 $temp is an environment variable on Windows 2017-11-16 23:03:15 -05:00
darealshinji
910b527052 Merge pull request #529 from Contik/master
Verify /sys/class/hwmon existence, carefully use "${thermal}"
2017-11-01 12:15:52 +01:00
Contik
6173401b8a Resolves KittyKatt/screenFetch#527 and KittyKatt/screenFetch#528. First verify that '/sys/class/hwmon/' exists. Then even if it does verify that "${thermal}" is defined and has a non-null value prior to using it for a bc calculation. 2017-11-01 01:10:04 +01:00
darealshinji
cf73671d4d Merge pull request #526 from edward-p/master
Fix core temperature read
2017-10-28 12:21:22 +02:00
edward-p
b5cffda750 fix cpu core temperature read 2017-10-28 11:55:12 +08:00
darealshinji
6481b7e942 Merge pull request #524 from Head-on-a-Stick/master
screenfetch-dev: fixed OpenBSD usedmem.
2017-10-18 06:30:33 -04:00
Matthew T Hoare
77613487a2 screenfetch-dev: fixed OpenBSD usedmem. 2017-10-17 20:57:50 +01:00