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

Open
opened 2026-01-05 14:51:19 +01:00 by adam · 3 comments
Owner

Originally created by @madmedicnl on GitHub (Nov 24, 2024).

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

Originally created by @madmedicnl on GitHub (Nov 24, 2024). ### 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 ```json ////// 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
adam added the bugi-will-not-work-on-thisi-am-stuckkomorebi-bar labels 2026-01-05 14:51:19 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Jan 23, 2025):

@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 commented on GitHub (Jan 23, 2025): @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 🤔
Author
Owner

@CtByte commented on GitHub (Jan 23, 2025):

@LGUG2Z it seems to be a common issue with VPNs

@CtByte commented on GitHub (Jan 23, 2025): @LGUG2Z it seems to be a [common issue](https://github.com/glzr-io/zebar/issues/159) with VPNs
Author
Owner

@FAL0258 commented on GitHub (Jun 11, 2025):

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

@FAL0258 commented on GitHub (Jun 11, 2025): Establishing a connection via NordVPN also caused the bar to crash and disappear, while connecting via OpenVPN GUI did not.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#531