Add Modules/Module Eth +Mask IP/README.md
This commit is contained in:
parent
461177d71c
commit
efe84f72e3
20
Modules/Module Eth +Mask IP/README.md
Normal file
20
Modules/Module Eth +Mask IP/README.md
Normal file
@ -0,0 +1,20 @@
|
||||
# Script: Eth+MaskIP
|
||||
|
||||
A script for showing and toggling the the display of your ethernet internal ip if you are connected by ethernet.
|
||||
|
||||
## Config Reminder
|
||||
|
||||
Don't forget to find `modules-left =` or `modules-right =` or whatever you're using and adding `Eth+MaskIP` to the list.
|
||||
|
||||
## Module
|
||||
|
||||
``` ini
|
||||
[module/Eth+MaskIP]
|
||||
; On each refresh, call the script in “mask” mode
|
||||
; On left‐click, call it in “show” mode
|
||||
; (this will pop up a notification with the real IP)
|
||||
type = custom/script
|
||||
exec = $HOME/.config/polybar/polybar-scripts/mask_ip.sh
|
||||
interval = 0
|
||||
click-left = $HOME/.config/polybar/polybar-scripts/mask_ip.sh toggle &
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user