add new demo and update README.md
parent
030b88142a
commit
39d34de6fd
30
README.md
30
README.md
|
|
@ -1,27 +1,25 @@
|
|||
# cmatrix Effect
|
||||
|
||||
The matrix effect on windows through windows power shell
|
||||
The matrix effect on Windows through `PowerShell`
|
||||
|
||||

|
||||

|
||||
|
||||
## How to
|
||||
|
||||
1) Open Windows Powershell with Admin Privillege
|
||||
1) Open `Windows Powershell` (in some cases Admin privilege might be needed)
|
||||
|
||||
2) Download and save cmatrix.psm1 to desktop
|
||||
2) Either download and save [cmatrix.psm1](https://raw.githubusercontent.com/matriex/cmatrix/master/cmatrix.psm1) or just clonethis repo using `git clone https://github.com/matriex/cmatrix`
|
||||
|
||||
3) Create a folder cmatrix on "C:\Windows\System32\WindowsPowerShell\v1.0\Modules\"
|
||||
3) Import the module, set the timeout and enable it:
|
||||
````powershell
|
||||
Set-Executionpolicy remotesigned
|
||||
Import-Module .\cmatrix
|
||||
Set-ScreenSaverTimeout -Seconds 5
|
||||
Enable-ScreenSaver
|
||||
````
|
||||
|
||||
4) Copy cmatrix.psm1 to "C:\Windows\System32\WindowsPowerShell\v1.0\Modules\cmatrix\cmatrix.psm1"
|
||||
|
||||
5) Type the commands on terminal
|
||||
|
||||
**set-executionpolicy remotesigned**
|
||||
|
||||
**import-module cmatrix**
|
||||
|
||||
**Set-screenSaverTimeout -Seconds 5**
|
||||
|
||||
**Enable-ScreenSaver**
|
||||
If you are happy with it, then you can put it also in one of your module folders that you can get via `$env:PSModulePath`. Just create a folder named `cmatrix` and put `cmatrix.psm1` in it and then the next time you can just import it as `Import-Module cmatrix` without having to specify the full path.
|
||||
|
||||
_Author: Oisin Grehan_
|
||||
|
||||
_Contributor: Christoph Bergmeister_
|
||||
|
|
|
|||
BIN
cmatrix.PNG
BIN
cmatrix.PNG
Binary file not shown.
|
Before Width: | Height: | Size: 143 KiB |
Loading…
Reference in New Issue