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]: Use SwayOSD for volume and brightness #1738

Open
TurtleMeds opened this issue Aug 8, 2024 · 19 comments
Open

[Feature Request]: Use SwayOSD for volume and brightness #1738

TurtleMeds opened this issue Aug 8, 2024 · 19 comments
Labels
enhancement New feature or request

Comments

@TurtleMeds
Copy link

Feature Request

Description

Use the swayosd-git package from the aur to make changing volume and brightness much more intuitive and feel less hacky.

Use Case

It would look much better and more polished.

Alternatives

it is also possible to make your own with something like eww or ags.

Additional Information

image
image

@TurtleMeds TurtleMeds added the enhancement New feature or request label Aug 8, 2024
@kRHYME7
Copy link
Collaborator

kRHYME7 commented Aug 10, 2024

Will this work out of the box? (I meant the colors)

@rubiin
Copy link
Contributor

rubiin commented Sep 4, 2024

@kRHYME7 yes they do . I just tested looks nice

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Sep 5, 2024

Unfortunately, compiling and installing swayOSD on low-end devices takes a significant amount of time. And I'm afraid would cause issues. We can add this in the optional package though

@rubiin
Copy link
Contributor

rubiin commented Sep 5, 2024

That would be great. I personally like the design compared to what we have now. I think we can add it as optional. Once they package it for ubuntu, then we can use it from aur

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Sep 5, 2024

I converted the binds BTW while testing


# Exec daemon
exec-once = swayosd-server

# Volume controls
#bind=,XF86AudioRaiseVolume,exec,swayosd-client --output-volume raise
#bind=,XF86AudioLowerVolume,exec,swayosd-client --output-volume lower
#bind=,XF86AudioMute,exec,swayosd-client --output-volume mute-toggle

# Source volume toggle mute
#bind=,XF86AudioMicMute,exec,swayosd-client --input-volume mute-toggle

# Custom volume values
#bind=,XF86AudioRaiseVolume,exec,swayosd-client --output-volume 15
#bind=,XF86AudioLowerVolume,exec,swayosd-client --output-volume -15

# Max volume
#bind=,XF86AudioRaiseVolume,exec,swayosd-client --output-volume raise --max-volume 120
#bind=,XF86AudioLowerVolume,exec,swayosd-client --output-volume lower --max-volume 120

# Custom volume values with device
#bind=,XF86AudioRaiseVolume,exec,swayosd-client --output-volume +10
#bind=,XF86AudioLowerVolume,exec,swayosd-client --output-volume -10

# Caps Lock
#bindr=,Lock,exec,swayosd-client --caps-lock
#bindr=,Caps_Lock,exec,swayosd-client --caps-lock

# Brightness controls
#bind=,XF86MonBrightnessUp,exec,swayosd-client --brightness raise
#bind=,XF86MonBrightnessDown,exec,swayosd-client --brightness lower

# Custom brightness values
#bind=,XF86MonBrightnessUp,exec,swayosd-client --brightness +10
#bind=,XF86MonBrightnessDown,exec,swayosd-client --brightness -10

@rubiin
Copy link
Contributor

rubiin commented Sep 5, 2024

I did too. Few buttons like mute and volumes just to see the UI

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Sep 5, 2024

Did you happen to make caps_lock work?

@rubiin
Copy link
Contributor

rubiin commented Sep 5, 2024

image

@kRHYME7 works fine

@TurtleMeds
Copy link
Author

Did you happen to make caps_lock work?

Works out of the box for me

@rubiin
Copy link
Contributor

rubiin commented Sep 5, 2024

same

@rubiin
Copy link
Contributor

rubiin commented Sep 6, 2024

@kRHYME7 I think for now we can package a build and ship with hyprdots . Generating a binary looks fairly easy, just have to copy to /usr/bin

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Sep 6, 2024

Does their repo have the bin files? I guess we ask for feat req there and someone can make an aur pkg.

@rubiin
Copy link
Contributor

rubiin commented Sep 6, 2024

Nah. They dont. We will have to build one ourself . Then we can host pkgbuild on aur to copy that to user bins or we can put the binary here itself for now

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Sep 6, 2024

What's the reason for not shipping bin? Should it be compiled specifically for the system?

@rubiin
Copy link
Contributor

rubiin commented Sep 6, 2024

yeah. They dont have done any release as far I can see. You build with cargo lol

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Sep 6, 2024

Maybe we should try to request then. Maybe they can provide any reasons why they're not shipping a bin.

I'm using chaotic aur, still no one packages it to bin.

@rubiin
Copy link
Contributor

rubiin commented Sep 6, 2024

https://github.com/chaotic-aur/packages/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen lets create one here for swayosd-git.
We will need users upvoting for quick i guess

@rubiin
Copy link
Contributor

rubiin commented Sep 7, 2024

@kRHYME7 @TurtleMeds created a request here, be sure to comment there so the devs can release a bin sooner
chaotic-aur/packages#3303

Then we can get going with this feature

@Technetium1
Copy link

The package has been added. For as long as we provide it build logs will be available at https://builds.garudalinux.org/repos/chaotic-aur/logs/swayosd-git.log
Eventually after transition to v4, logs will be available here https://aur.chaotic.cx/status

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

Successfully merging a pull request may close this issue.

4 participants