Add Modules/Module Eth +Mask IP/README.md

This commit is contained in:
soku 2025-04-30 10:50:01 +00:00
parent 461177d71c
commit efe84f72e3

View 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 leftclick, 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 &
```