Skip to content

Some errors #2

Description

@tghelere

What's up, guys?
This theme is compatible with linux os?
On my Fedora i got some errors on init:

/home/myUserFolder/.local/share/omf/themes/cyan/archey.sh: line 77: sw_vers: command not found
sysctl: cannot stat /proc/sys/machdep/cpu/brand_string: No such file or directory
/home/myUserFolder/.local/share/omf/themes/cyan/archey.sh: line 84: pmset: command not found
sysctl: cannot stat /proc/sys/hw/memsize: No such file or directory
/home/myUserFolder/.local/share/omf/themes/cyan/archey.sh: line 89: / 1024 ** 3  : syntax error: operand expected (error token is "/ 1024 ** 3  ")


          #######                      User: me
          ########                     Hostname: fed27
              #####                    Distro: OS X 
               #####                   Kernel: Linux
               ######                  Uptime: 3 days
              ########                 Shell: /bin/bash
            ###########                Terminal: xterm-256color 
           #####   #####               Terminal Size: 49 x 189
          #####     #####              CPU: 
        #####        #####             Memory: 
       #####          #####   ##       Disk: 0%
     #####             ##########      Battery: 
    #####               #######        Date: sáb set 15 14:11:11 -03 2018

line 77:
distro="OS X $(sw_vers -productVersion)"

line 84:
battery=$(pmset -g batt | xargs | egrep "\d+%" -o)

line 89:
ram="$(( $(sysctl -n hw.memsize) / 1024 ** 3 )) GB"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions