Coder Social home page Coder Social logo

sync1211 / wg-indicator Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 289 KB

A simple connection indicator for WireGuard connections.

Home Page: https://extensions.gnome.org/extension/3418/wg-indicator/

License: GNU General Public License v3.0

JavaScript 99.58% Shell 0.42%
gnome-shell-extension wireguard

wg-indicator's Introduction

WG-Indicator

A simple status indicator for WireGuard connections.

Requirements:

  • nmcli

Screenshots:

Colored White Black
colored white black

This extension is a fork of asterios' wg-indicator extension

wg-indicator's People

Contributors

sync1211 avatar

Stargazers

Dylan Sealy avatar Daniel Galvan Esparragoza avatar jon โš avatar Johannes Schriewer avatar

Watchers

 avatar

wg-indicator's Issues

BW icon

Could you consider to switch (or to provide an option) on a black-white icon to better fit in the design of standard icons in Gnome Shell?
I'm actually using a personal version of the icon but I can't provide a PR except to just overwrite the actual one.

image

Support GNOME 42

I was hoping for native support of WireGuard in GNOME 42 / Fedora 36 but it seems this extension will be needed for another release cycle. Code changes seem to be needed as the extension GUI shows the following error when just adding version 42 to the manifest:

Object 0xc4083b28928 is not a subclass of GObject_Object, it's a Object

Multiple interfaces & up/down actions

The main request would be to have a click action to enable/disable the available interface/s. Other extensions manage the feature by means of sudo requests to handle the task. If the wireguard connection is configured as network manager virtual interface, it is possible to enable/disable the interface with a simple user command: nmcli connection up/down interface-name.

Would be possible to add a simple click action? The multi-interface question is related to the case where the interfaces are more than one. This could be managed with multiple-icons (with the interface name as tooltip) with click action to enable/disable the specific interface; another approach, as on other extensions, would be to show a single icon but with cascading menu.

silence logging to journal

Hi,
when using the extension, the journal log is spammed every second or so with the entries like

Apr 27 09:58:48 britten gnome-shell[35983]: wg0 xxxxxxxxxxxxxxxxxxxxxxxxxxx wireguard wg0

(x-ed out the numbers because I have no idea of those breach privacy...). Would it be possible to make this extension work silently?

Shell 40

Just found you extension which seems to be a nice workaround until gnome-shell gets native support for WireGuard. I had to change the metadata.json to make it work on shell 40. Mind adding that version in addition?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.