This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%% | |
%%% This is file `basat-complex.cls', | |
%%% Version 0.3 | |
%%% __________________________________ | |
%%% | |
%%% Copyright © 2017-2020 Seiied-Mohammad-Javad Razavian | |
%%% __________________________________ | |
%%% | |
%%% Change Log: | |
%%% ver 0.3, Jun. 1st, 2020 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#import os | |
import psutil | |
#from subprocess import PIPE | |
temp = psutil.sensors_temperatures()['acpitz'][0].current | |
print( f"{psutil.virtual_memory()[2]} {temp} C° {psutil.cpu_percent(interval=1)} %| iconName=gnome-dev-memory ") | |
print("---") |