20 lines
648 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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 &
```