Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Equivalent for Windows 11's action center? #1023

Open
Haraven opened this issue Mar 6, 2024 · 20 comments
Open

[Feature Request]: Equivalent for Windows 11's action center? #1023

Haraven opened this issue Mar 6, 2024 · 20 comments
Labels
enhancement New feature or request

Comments

@Haraven
Copy link

Haraven commented Mar 6, 2024

Feature Request

Description

A feature I've been looking for is having one unitary menu which opens up when I press the Waybar icons for: speaker, microphone, brightness, battery, wifi or bluetooth. In my opinion, this helps manage those settings a bit easier, since it's all in one place.

Use Case

For me this would be useful to have since it gives you one single entry point for managing the most common settings for your device. Currently, you rely on keyboard shortcuts and/or separate menus for each setting. This is of course very practical and it offers a clear separation of concerns.

But there's something to be said about having a simple menu where you can enable/disable wifi and bluetooth, or adjust speaker and microphone volumes, or see battery % and adjust brightness accordingly. All of these are individual use cases that for me make sense as a way of grouping settings together.

Proposed Solution

I don't have a tehnical solution in mind, but my proposal is to have something like Windows 11's Action Center:
w11-example

or like SwayNC's configs (example taken from here):
swaync-example

Alternatives

I've considered switching from Dunst to SwayNC just to get that action center, but many of Hyprdots' scripts seem to rely on sending Dunst notifications.

To address that, I've considered refactoring the scripts and using a generic notification script that picks between Dunst, SwayNC or Mako depending on what's available, but it's clearly a time investment.

I've also considered trying to write an action center like that from scratch, but that's even more of a time investment.

@Haraven Haraven added the enhancement New feature or request label Mar 6, 2024
@Haraven Haraven changed the title [Feature Request]: Dunst equivalent Windows 11's action center? [Feature Request]: Equivalent for Windows 11's action center? Mar 6, 2024
@Haraven
Copy link
Author

Haraven commented Mar 6, 2024

Update: after seeing this Reddit post, it seems that Waybar and Eww can be used together. You can create a widget that acts as an Action Center using Eww and open it via waybar icon click.

I'll try my luck at implementing this based on the code from the Reddit OP's dotfiles.

@DiegoSof2
Copy link

I believe this is in the project plans using Eww

@Skerse
Copy link
Collaborator

Skerse commented Mar 12, 2024

Yeah, the simplest thing we can do to get close to that is to use swaync, and waybar doesn't have anything close to that. Obviously eww, or ags which i think is better, can do that style and functionality pretty much exactly, but the config language is definitely not easy to write and implement.

@Haraven
Copy link
Author

Haraven commented Mar 12, 2024

I hit a roadblock with Eww as it doesn't seem to play well with multiple monitors on Wayland. I can't get the widget to open on the monitor that my mouse is on.

From what I read from their docs, Eww's config language, yuck, doesn't play well with Wayland. On X11 the widget can autodetect the monitor if its monitor setting is ommitted, but on Wayland you have to specify it, and there doesn't seem to be an option like "monitor on which my mouse is currently on".

I've asked on their GitHub's discussion forum about it, but I got no answer.

SwayNC is starting to look like the only option for now, at least for my dual monitor setup.

@prasanthrangan
Copy link
Owner

I've considered switching from Dunst to SwayNC just to get that action center, but many of Hyprdots' scripts seem to rely on sending Dunst notifications.

To address that, I've considered refactoring the scripts and using a generic notification script that picks between Dunst, SwayNC or Mako depending on what's available, but it's clearly a time investment.

I did want to replace dunst with swayNC, but was a bit lazy to refactor the scripts... I'll do it now :)

@Haraven
Copy link
Author

Haraven commented Mar 13, 2024

Thank you very much!

@prasanthrangan
Copy link
Owner

Obviously eww, or ags which i think is better, can do that style and functionality pretty much exactly, but the config language is definitely not easy to write and implement.

I've no clue how eww and ags works... I just want something simple and modular that can be modified or generated on the fly, here is my rough concept UI that I have in mind for action center -

image

I do want multiple styles like this to switch between...

@noahfraiture
Copy link

Are ags and eww in plans?

@Skerse
Copy link
Collaborator

Skerse commented Mar 31, 2024

Are ags and eww in plans?

I mean, this has kind of just been sitting here, but it exists: https://github.com/users/prasanthrangan/projects/1?pane=issue&itemId=37812508

@its-19818942118
Copy link

Obviously eww, or ags which i think is better, can do that style and functionality pretty much exactly, but the config language is definitely not easy to write and implement.

I've no clue how eww and ags works... I just want something simple and modular that can be modified or generated on the fly, here is my rough concept UI that I have in mind for action center -

image

I do want multiple styles like this to switch between...

But I gotta say @prasanthrangan your waybar is very nice and gotta say the action center is fire

@its-19818942118
Copy link

its-19818942118 commented Apr 26, 2024

So is the plan for eww of swaync? Well sway NC is customizability is top notch. It's really flexible I didn't mess around with it . And dunst is kinda a har to configure in my opinion. And there is eww which frankly I have never used.soo what is the plan currently?
ErikReider/SwayNotificationCenter#183

@Gl00ria
Copy link
Contributor

Gl00ria commented May 2, 2024

Hi @prasanthrangan @Haraven @Skerse I made the theming for Swaync ready for all the themes I could found for HyDE (official & non-offcial). My first time playing with .css hope you like it.

Official themes:

Catppuccin Latte:

catppuccin_latte

Catppuccin Mocha:

catppuccin_mocha

Decay Green:

decay_green

Edge Runner:

edge_runner

Frosted Glass:

forsted_glass

Graphite Mono:

graphite_mono

Gruvbox Retro:

gruvbox_retro

Material Sakura:

material_sakura

Nordic Blue:

nordic_blue

Rose Pine:

rose_pine

Synth Wave:

synth_wave

Tokyo Night:

tokyo_night

Non Official:

Hack The Box:

htb

Windows 11:

win_11

One Dark:

one_dark

MacOS:

mac

If this is acceptable I would love to submit a PR but I need a couple of things to know:

  1. What font you want to be used?
  2. What is the height & width standard you want? I have a big screen, so I couldn't decide :(
  3. What are the functionality you want for each button?
  4. How to edit the scripts to switch the theme correctly?

@its-19818942118
Copy link

its-19818942118 commented May 2, 2024

Hi @prasanthrangan @Haraven @Skerse I made the theming for Swaync ready for all the themes I could found for HyDE (official & non-offcial). My first time playing with .css hope you like it.

Official themes:

Catppuccin Latte:

catppuccin_latte

Catppuccin Mocha:

catppuccin_mocha

Decay Green:

decay_green

Edge Runner:

edge_runner

Frosted Glass:

forsted_glass

Graphite Mono:

graphite_mono

Gruvbox Retro:

gruvbox_retro

Material Sakura:

material_sakura

Nordic Blue:

nordic_blue

Rose Pine:

rose_pine

Synth Wave:

synth_wave

Tokyo Night:

tokyo_night

Non Official:

Hack The Box:

htb

Windows 11:

win_11

One Dark:

one_dark

MacOS:

mac

If this is acceptable I would love to submit a PR but I need a couple of things to know:

  1. What font you want to be used?
  2. What is the height & width standard you want? I have a big screen, so I couldn't decide :(
  3. What are the functionality you want for each button?
  4. How to edit the scripts to switch the theme correctly?

Holy moly this is fire
Looks super clean and nifty at the same time. I think a don't like caskaydia code but with nerd fonts. And I think added functionality like brightness control or sound control or sound mixer would be fire. Also night mode with yellow screen. Cuz I use it all the time soo. Also for height and width I think ability to toggle between long and short would be cool. But hands down this nice. Got the asthetics to it :). Good work 👍

@noahfraiture
Copy link

Wow, we need a PR for this. This is great
(Please before my full reset in a month?)

@kRHYME7
Copy link
Collaborator

kRHYME7 commented May 2, 2024

@Gl00ria Long time no see! What a beauty 😍. PR please 🥺

@prasanthrangan
Copy link
Owner

Hey @Gl00ria , its been a while... and this looks dope!
Please do a PR or I'll create a new branch for this if you guys are ok with that??

@mahaveergurjar
Copy link
Contributor

It's awesome but i like the layout that @prasanthrangan send but this feature come in this repo than layout also improve in future 😃

@Gl00ria Gl00ria mentioned this issue May 4, 2024
16 tasks
@Gl00ria
Copy link
Contributor

Gl00ria commented May 4, 2024

Hey @Gl00ria , its been a while... and this looks dope! Please do a PR or I'll create a new branch for this if you guys are ok with that??

Hello, Yeah I came with surprises lol. The PR's made regrading the SwayNC

@Da4ndo
Copy link

Da4ndo commented Jun 14, 2024

Are they putting this into practice now? Can I switch utilizing swaync instead of dunst now, or is it still not possible?

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Jun 14, 2024

not yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

10 participants