diff --git a/README.md b/README.md index ddbadbef..b7b492a1 100644 --- a/README.md +++ b/README.md @@ -449,8 +449,7 @@ alias neofetch2="neofetch \ NOTE This only works on linux. --distro_shorthand on/off Shorten the output of distro (tiny, on, off) NOTE: This is only possible on Linux, macOS, and Solaris - --kernel_shorthand Shorten the output of kernel - Takes: on, tiny, off + --kernel_shorthand on/off Shorten the output of kernel --uptime_shorthand on/off Shorten the output of uptime (tiny, on, off) --refresh_rate on/off Whether to display the refresh rate of each monitor Unsupported on Windows diff --git a/config/config b/config/config index dc19fde9..15b98e72 100644 --- a/config/config +++ b/config/config @@ -55,7 +55,7 @@ printinfo() { # Kernel # Show more kernel info -# --kernel_shorthand on, off, tiny +# --kernel_shorthand on, off kernel_shorthand="on" diff --git a/neofetch b/neofetch index 9f035776..4eb41f02 100755 --- a/neofetch +++ b/neofetch @@ -266,15 +266,9 @@ gettitle() { # Kernel {{{ getkernel() { - # Hardcode kernel_shorthand=tiny on BSD systems. - case "$os" in - "BSD") kernel_shorthand="tiny" ;; - esac - case "$kernel_shorthand" in - "on") kernel_flags="-sr" ;; - "tiny") kernel_flags="-r" ;; - "off") kernel_flags="-srm" ;; + "on") kernel_flags="-r" ;; + "off") kernel_flags="-sr" ;; esac kernel="$(uname $kernel_flags)" } @@ -2891,8 +2885,7 @@ usage() { cat << EOF NOTE This only works on linux. --distro_shorthand on/off Shorten the output of distro (tiny, on, off) NOTE: This is only possible on Linux, macOS, and Solaris - --kernel_shorthand Shorten the output of kernel - Takes: on, tiny, off + --kernel_shorthand on/off Shorten the output of kernel --uptime_shorthand on/off Shorten the output of uptime (tiny, on, off) --refresh_rate on/off Whether to display the refresh rate of each monitor Unsupported on Windows diff --git a/neofetch.1 b/neofetch.1 index 5ab210cc..a5aec131 100644 --- a/neofetch.1 +++ b/neofetch.1 @@ -53,7 +53,7 @@ Shorten the output of distro (tiny, on, off) .br NOTE: This is only possible on Linux, macOS, and Solaris .TP -.B \--kernel_shorthand 'on/off/tiny' +.B \--kernel_shorthand 'on/off' Shorten the output of kernel .TP .B \--uptime_shorthand 'on/off'