Code Monkey home page Code Monkey logo

Comments (21)

myryk31415 avatar myryk31415 commented on August 16, 2024 1

that was the answer to the other person. I added it to my setup, it works, but I just noticed an Issue, you can only add wifi networks manually in the connection editor, available networks are only shown when clicking on the system tray icon.
I'll have a look wether i can find a workaround or a better gui

from hyprland-dots.

JohnRTitor avatar JohnRTitor commented on August 16, 2024

Is not this what you are looking for?
swappy-20240401-190958

from hyprland-dots.

myryk31415 avatar myryk31415 commented on August 16, 2024

yeah but there is now way to connect to a new wifi network this way, is there? I checked the modules file and there are no on-click events, so its only visual feedback right

from hyprland-dots.

JohnRTitor avatar JohnRTitor commented on August 16, 2024

You can hover over Available networks and it'll show you "the available" and not hidden networks.
To add a hidden network you can click "Connect to a hidden Wi-Fi network"

from hyprland-dots.

JaKooLit avatar JaKooLit commented on August 16, 2024

I have been trying to do but I couldnt figure out a standalone gui for network manager. If you have or if you know a project, pls let me know

from hyprland-dots.

myryk31415 avatar myryk31415 commented on August 16, 2024

The module available on most layout just shows that I am disconnected, hovering over the icon just shows the text disconnected. Clicking on it doesn't do anything. Is that different for you?

network": {
    "format": "{ifname}",
    "format-wifi": "{icon}",
    "format-ethernet": "󰌘",
    "format-disconnected": "󰌙", 
    "tooltip-format": "{ipaddr}  {bandwidthUpBytes}  {bandwidthDownBytes}",
    "format-linked": "󰈁 {ifname} (No IP)",
    "tooltip-format-wifi": "{essid} {icon} {signalStrength}%",
    "tooltip-format-ethernet": "{ifname} 󰌘",
    "tooltip-format-disconnected": "󰌙 Disconnected",
    "max-length": 50,
    "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"],
},

There is now way to interact with it thats why I proposed adding smth like this:
"on-click": "nm-connection-editor"

from hyprland-dots.

myryk31415 avatar myryk31415 commented on August 16, 2024

@JaKooLit idk how independent that is but I used nm-applet. Only annoying thing is that once you use it it stays in the tray, same as bluetooth

from hyprland-dots.

myryk31415 avatar myryk31415 commented on August 16, 2024

nm-connection-editor is part of nm-applet, the page where you can select the wifi etc

from hyprland-dots.

JaKooLit avatar JaKooLit commented on August 16, 2024

Im fully aware of that

The module available on most layout just shows that I am disconnected, hovering over the icon just shows the text disconnected. Clicking on it doesn't do anything. Is that different for you?

network": {
    "format": "{ifname}",
    "format-wifi": "{icon}",
    "format-ethernet": "󰌘",
    "format-disconnected": "󰌙", 
    "tooltip-format": "{ipaddr}  {bandwidthUpBytes}  {bandwidthDownBytes}",
    "format-linked": "󰈁 {ifname} (No IP)",
    "tooltip-format-wifi": "{essid} {icon} {signalStrength}%",
    "tooltip-format-ethernet": "{ifname} 󰌘",
    "tooltip-format-disconnected": "󰌙 Disconnected",
    "max-length": 50,
    "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"],
},

There is now way to interact with it thats why I proposed adding smth like this: "on-click": "nm-connection-editor"

a favor then, I am not on my system now, can you add this then and see if that is working?

from hyprland-dots.

myryk31415 avatar myryk31415 commented on August 16, 2024

rofi-network-manager:
https://github.com/P3rf/rofi-network-manager?tab=readme-ov-file#features

On Tumbleweed it was available as package, otherwise there is a script as well.
Does close with escape, not the hyprland keybind for closing windows. Has a different look too, but I'd say its definitly better than not having any gui.

from hyprland-dots.

JohnRTitor avatar JohnRTitor commented on August 16, 2024

The module available on most layout just shows that I am disconnected, hovering over the icon just shows the text disconnected. Clicking on it doesn't do anything. Is that different for you?

Yes. Clicking on it brings up this menu.
IMG_20240401_235026

Clicking on Edit Connections then brings up this.
image

from hyprland-dots.

myryk31415 avatar myryk31415 commented on August 16, 2024

interesting, that looks quite good. like the nm-applet menu in nicer. Could you have a look at ~/.config/waybar/configs
and share the "network" code? would be great :)

from hyprland-dots.

JohnRTitor avatar JohnRTitor commented on August 16, 2024

right there is no on click event, but clicking on it brings up the menu? Weird. Anyways, I am on NixOS with network manager enabled. And I do use a lot of other packages. Maybe that's related?

"network": {
    "format": "{ifname}",
    "format-wifi": "{icon}",
    "format-ethernet": "󰌘",
    "format-disconnected": "󰌙", 
    "tooltip-format": "{ipaddr}  {bandwidthUpBytes}  {bandwidthDownBytes}",
    "format-linked": "󰈁 {ifname} (No IP)",
    "tooltip-format-wifi": "{essid} {icon} {signalStrength}%",
    "tooltip-format-ethernet": "{ifname} 󰌘",
    "tooltip-format-disconnected": "󰌙 Disconnected",
    "max-length": 50,
    "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"]
},

from hyprland-dots.

myryk31415 avatar myryk31415 commented on August 16, 2024

hmm thats weird. maybe its not the network module but a different one? the name should be in the config as well. (this time actually in the config file and not the modules one i messed up the names lol)

from hyprland-dots.

JohnRTitor avatar JohnRTitor commented on August 16, 2024

It's the "tray" module. Can't find where it's defined though.

from hyprland-dots.

myryk31415 avatar myryk31415 commented on August 16, 2024

Ah that makes sense. Thats some networkmanager gui that gets started somewhere on ur system and then sits in the tray, this works for me as well. But i had to set it up manually. So would be great if there was a way to do it with the network module directly, eg with the rofi-network-manager.

from hyprland-dots.

JohnRTitor avatar JohnRTitor commented on August 16, 2024

Yes, then another network manager applet would be redundant, since both would show up in Waybar.

from hyprland-dots.

myryk31415 avatar myryk31415 commented on August 16, 2024

yes but then it should at least be installed and executed on startup, I didnt have any way to configure my wifi at first (on the cli ofc but I didnt know how to, that was kinda discouraging after installing)

from hyprland-dots.

JohnRTitor avatar JohnRTitor commented on August 16, 2024

Yes, installing additional system components is out of scope for this discussion. User should do it themselves.

from hyprland-dots.

JaKooLit avatar JaKooLit commented on August 16, 2024

yes but then it should at least be installed and executed on startup, I didnt have any way to configure my wifi at first (on the cli ofc but I didnt know how to, that was kinda discouraging after installing)

network manager applet is set to be installed and added in startup. It should show in tray module

Previously, I have the impression that on the network waybar module, there is a gui in which, if you click it, the network-manager applet pop up would appear... I dont know if thats what you wanted... maybe it is possible, maybe its not. but I have not tried

from hyprland-dots.

myryk31415 avatar myryk31415 commented on August 16, 2024

Okay great, idk for some reason it didnt show up for me, whatever.

from hyprland-dots.

Related Issues (20)

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.