mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-05 20:56:33 +05:30
update tailscale host
This commit is contained in:
@ -3,7 +3,7 @@ local watch = require("awful.widget.watch")
|
||||
local wibox = require("wibox")
|
||||
|
||||
local tailscale = wibox.widget.textbox("Home: NA")
|
||||
watch("bash -c \"tailscale ping pi | awk '{print $NF}'\"", 10, function(_, stdout)
|
||||
watch("bash -c \"tailscale ping vega | awk '{print $NF}'\"", 10, function(_, stdout)
|
||||
tailscale.text = "Home:" .. " " .. stdout
|
||||
end)
|
||||
|
||||
|
Reference in New Issue
Block a user