Hacker News new | ask | show | jobs
by DyslexicAtheist 332 days ago
very cool. works like a charm also on Sway

in ~/.config/sway/config:

   for_window [class="connmap"] fullscreen enable
cat ~/.config/connmap/connmaprc

   location_x 20
   location_y 500
   map_width 1920
   black false
   update_interval 1
bonus: connect it to a right-click event either on the vpn or the network module in waybar

     "custom/wg":{
         "format": "wg {icon} {text}",
         "exec": "~/.config/waybar/modules/wg",
         "return-type": "json",
         "interval": 5,
         "format-icons": ["",""],
        "on-click-right": "~/bin/connmap"
     },