mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-12-03 20:06:37 +00:00
21 lines
340 B
Markdown
21 lines
340 B
Markdown
|
# Script: info-ssh-sessions
|
||
|
|
||
|
A script that displays the count of current ssh sessions as well as the public IP address of the fist session.
|
||
|
|
||
|
![info-ssh-sessions](screenshots/1.png)
|
||
|
|
||
|
|
||
|
## Dependencies
|
||
|
|
||
|
* `lsof`
|
||
|
|
||
|
|
||
|
## Module
|
||
|
|
||
|
```ini
|
||
|
[module/info-ssh-sessions]
|
||
|
type = custom/script
|
||
|
exec = ~/polybar-scripts/info-ssh-sessions.sh
|
||
|
interval = 5
|
||
|
```
|