komorebi icon indicating copy to clipboard operation
komorebi copied to clipboard

[BUG]: When Surfshark VPN is enabled the Network widget in Komorebi Bar does not show

Open madmedicnl opened this issue 1 year ago • 3 comments

Summary

Exactly what it says in the title. When you disable the VPN the network widget immediately shows up.

Version Information

OS Name: Microsoft Windows 11 Home OS Version: 10.0.26100 N/A Build 26100

komorebic -V komorebic 0.1.31 branch:master commit_hash:b14c0d07 build_time:2024-11-24 00:53:21 +00:00 build_env:rustc 1.82.0 (f6e511eec 2024-10-15),stable-x86_64-pc-windows-msvc

Komorebi Configuration

////// KOMOREBI BAR JSON
{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.30/schema.bar.json",
  "monitor": {
    "index": 0,
    "work_area_offset": {
      "left": 0,
      "top": 28,
      "right": 0,
      "bottom": 24
    }
  },
  "position": {
  	"start": {
  		"x": 0,
  		"y": -6
  	},
  	"end": {
  		"x": 1920,
  		"y": 35
  	}
  },
  
  "font_family": "JetBrains Mono",
  "theme": {
    "palette": "Base16",
    "name": "GruvboxDarkMedium",
    "accent": "Base0D"
  }, 
  "transparency_alpha": 10,
    "widget_spacing": 10.0,
    "grouping": {
    	   "kind": "Widget",
    	   "style": "CtByteWithShadow",
    	   "rounding": [5, 5, 5, 5],
    	   "transparency_alpha": 25
    	        },
    
   "left_widgets": [
  
    {
      "Komorebi": {
        "workspaces": {
          "enable": true,
          "hide_empty_workspaces": false
        },
        "layout": {
          "enable": true
        },
        "focused_window": {
          "enable": true,
          "show_icon": true
        }
      }
    }
  ],
  "right_widgets": [
    {
      "Media": {
        "enable": true
      }
    },
  // {
  //    "Storage": {
  //      "enable": true
  //    }
  //  },
    {
      "Memory": {
        "enable": true
      }
    },
     {
     	      "Battery": {
     	      	        "enable": true
     	      	              }
     },
  {
  	      "Network": {
  	      	        "enable": true,
  	      	        "data_refresh_interval": 2,
  	      	        "show_total_data_transmitted": true,
  	      	        "show_network_activity": true,
  	      	        "network_activity_fill_characters": 10
  	      	         }
      },
      {
      "Time": {
        "enable": true,
        "format": "TwentyFourHour"
      }
    },
      {
      	     "Date": {
      	     "enable": true,
      	     "format": "DayDateMonthYear"
      	     	     }
       }
   
  ]
}

Hotkey Configuration

default WHKD

Output of komorebic check

No KOMOREBI_CONFIG_HOME detected, defaulting to C:\Users\MadMedic

Looking for configuration files in C:\Users\MadMedic

Found komorebi.json; this file can be passed to the start command with the --config flag

Found C:\Users\MadMedic.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag

madmedicnl avatar Nov 24 '24 22:11 madmedicnl

@CtByte another networking widget related thing, I have a feeling that VPN connections don't show up as a result of the network interface scanning call we use 🤔

LGUG2Z avatar Jan 23 '25 18:01 LGUG2Z

@LGUG2Z it seems to be a common issue with VPNs

CtByte avatar Jan 23 '25 22:01 CtByte

Establishing a connection via NordVPN also caused the bar to crash and disappear, while connecting via OpenVPN GUI did not.

FAL0258 avatar Jun 11 '25 03:06 FAL0258