Commit Graph
90 Commits
Author SHA1 Message Date
gk 5d432d2c67 more consistent quoting and more comments
don't quote variable assignment unless it has special characters

use single quotes when not using any shell expansion (variables,
subshells)
2020-10-13 08:02:46 +10:00
gk ce53a54d4c add comments to invalid model handling 2020-10-13 07:31:31 +10:00
gk 34f2b4b0a1 check /sys/devices/virtual/dmi/id/board_name if product_name gives an invalid value 2020-10-13 07:15:20 +10:00
gk eede5b7666 less obfuscation in eq() 2020-10-13 07:10:12 +10:00
gk 43152b2837 Don't overwrite $wm with another DE variable if the first one worked v1.8 2020-09-18 09:04:44 +10:00
gk 0d8ab196c4 add better support for GNOME
also known as the foot DE
2020-08-31 19:03:39 +10:00
gk ea9abc7ffb Don't detect sandbox as WM (Closes #23)
Check if string starts with 'b', 'f', or 'o' and ends with 'box' (blackbox, fluxbox, openbox)
2020-08-27 04:52:50 +10:00
gk accf87f751 Add debian package support 2020-08-27 04:37:25 +10:00
gk 7d2097cf00 Merge pull request #21 from aosync/master
Added package info for KISS Linux
2020-08-25 18:58:59 +10:00
Alejandro Sior 1a4ecf462b Added KISS package 2020-08-25 08:58:19 +00:00
GaugeK 81d4666525 Make sure not to do an infinite loop 2020-08-25 12:45:18 +10:00
GaugeK 8b3af10779 Shorten CPU name and remove dir from wm v1.7 2020-08-25 04:28:07 +10:00
gk 4a7caeabe5 Merge pull request #20 from elkowar/readme_add_nix
Add nixpkgs package to readme
2020-08-25 02:12:09 +10:00
elkowar dc190ac7ac Add nixpkgs package to readme 2020-08-24 15:25:41 +02:00
GaugeK 71afae542c Fix inaccurated arch package count (Solves #19) 2020-08-24 02:46:19 +10:00
gk 33d1029e8b Merge pull request #18 from MatthiasCoppens/repology
Add Gentoo package
2020-08-22 18:43:48 +10:00
GaugeK 402217d114 don't check if DE variables exist before setting them, fix location of terminal comment 2020-08-22 15:34:37 +10:00
GaugeK 293b388623 Sane function name for [ a = b ] with globbing clone 2020-08-22 14:50:06 +10:00
Matthias Coppens 473ed6f54f Add Gentoo package
I added the Gentoo package to the README. I've already
written a report to Repology that the projects [fet.sh, fet-sh and fetsh](https://repology.org/project/fet.sh/related) should be merged.
When these are merged, you can use this Repology badge:
[![Packaging status](https://repology.org/badge/vertical-allrepos/fet.sh.svg)](https://repology.org/project/fet.sh/versions)
2020-08-21 21:33:12 +02:00
GaugeK 5dd087585c Check for os-release in /etc and /usr/lib 2020-08-22 04:58:22 +10:00
GaugeK 0ac1b7d216 Detect 'i3' as wm without any globbing 2020-08-22 04:54:12 +10:00
GaugeK b7fbb8784f Merge branch 'MatthiasCoppens-master' into master 2020-08-22 04:52:36 +10:00
GaugeK 6374278cac Fix file conflicts between '6gk:master' and 'MatthiasCoppens:master' 2020-08-22 04:48:51 +10:00
gk ce60c65e85 Merge pull request #16 from mfs/fix-xmonad
Detect xmonad.
2020-08-22 04:40:24 +10:00
gk 5b0c166444 Merge branch 'master' into fix-xmonad 2020-08-22 04:40:01 +10:00
GaugeK f139798f16 Remove faulty tmux support
Tmux's PPid is the 1, so skipping that makes the term your init
2020-08-22 04:14:55 +10:00
GaugeK c158f06c4d replace *box* with *box when detecting WM so it doesn't match
virtualbox's driver
v1.6
2020-08-22 03:55:06 +10:00
GaugeK 0a43ea82f3 Don't report terminal as tmux 2020-08-22 03:37:35 +10:00
Mike Sampson 55931b3bdf Detect xmonad.
When using a user config the executable is located in the users
home directory and is called $HOME/.xmonad/xmonad-x86_64-linux
2020-08-21 19:22:17 +10:00
Matthias Coppens 8f4d1cd8da Added detection of sway 2020-08-21 10:30:28 +02:00
GaugeK e377e92ee2 Don't report terminal as tmux 2020-08-21 14:01:36 +10:00
GaugeK 1f0adf29de Clean up code of BSDs, add very basic macos support (version number) 2020-08-21 13:57:14 +10:00
GaugeK 2815feda67 Basic FreeBSD support
Working: user@host, distro name, shell, cpu, mem
2020-08-21 12:43:26 +10:00
GaugeK 16a223b6c9 Basic OpenBSD support
Working: user@host, distro name, shell, cpu, mem, pkgs
2020-08-21 11:27:03 +10:00
GaugeK 4d6732246e Update screenshot 2020-08-20 23:20:12 +10:00
GaugeK c95bed41eb Fix empty cpu still printing 2020-08-20 23:19:43 +10:00
GaugeK 579e6b54fb check existence of /etc/os-release 2020-08-20 11:19:05 +10:00
GaugeK 205831ab61 fix infinite loop in bash
obsfucation is fun
v1.5
2020-08-20 06:08:11 +10:00
GaugeK 8fa8da9b28 Minor code optimizations, add comments
Use a function that acts like `[ a = b ]` using case instead of
calling case every time, which results in a lot of repeated lines
v1.4
2020-08-19 16:04:38 +10:00
gk 06b87fba25 Merge pull request #13 from aosync/master
KISS packages
2020-08-19 15:57:39 +10:00
Alejandro Sior b48988f214 KISS packages 2020-08-19 07:53:16 +02:00
GaugeK 4821da4d3b fix typo 2020-08-19 07:13:45 +10:00
GaugeK 75b665e153 add field to print newline v1.3 2020-08-19 05:27:15 +10:00
GaugeK a0ee667546 Add env var to change what info is displayed 2020-08-19 05:21:48 +10:00
gk acec5ad4c5 Merge pull request #12 from tumpura/master
change where hostname is read.
2020-08-19 05:18:19 +10:00
tumpura b89c509aca change where hostname is read. 2020-08-18 22:12:34 +03:00
gk 3df3b25355 Merge pull request #11 from elkowar/fix/unphuck_readme
Clean up the README file
2020-08-19 04:07:06 +10:00
gk 9dd1b3d698 Merge pull request #10 from elkowar/feature/customize_seperator
make seperator between key and value configurable via an env variable
2020-08-19 04:00:58 +10:00
elkowar 3d615c8c91 make seperator between key and value configurable via an env variable 2020-08-18 20:00:08 +02:00
elkowar ee56d6eed3 Clean up the README file
Adds documentation regarding how to customize the output, as well as phix
the phormatting.
2020-08-18 19:48:27 +02:00