20 lines
648 B
Markdown
20 lines
648 B
Markdown
# 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 &
|
||
``` |