Current hibernation cycle uptime
4 days, 21:06:50.592779
Fish version of monotonic uptime script:
type uptime
uptime is a function with definition
# Defined in /root/.config/fish/functions/BASH.fish @ line 48
function uptime
python3 -c 'import time,datetime;print(datetime.timedelta(seconds=time.clock_gettime(time.CLOCK_MONOTONIC)))'
end
!Important. „Fish s-hell”: You MUST include a newly created file containing your function/abbrev into standard fish settings files (as shown in the snippet above)– in order not to erase functions when updating sth with your system package manager!!!!
And it does work under Xorg normally!!!
No comments:
Post a Comment