cleaner volume script for extensibility and swayosd integration#1835
cleaner volume script for extensibility and swayosd integration#1835kRHYME7 merged 17 commits intoprasanthrangan:mainfrom
Conversation
|
damn, another 1. Can you alsoe please check this one? This one has a good approach though, without changing the keybindings.conf. edit: works on my end, can you guys try to test this |
|
Draft first. Please updraft when ready. Thanks! |
… the old volume script
|
When you say extensible is it backward compatible ? |
The existing version supports the older script, (older script can be confusing and difficult for other contributors to understand ). Additionally, I have fixed the -p player option and implemented fixes for the toggle mute for -p. The older script relies on the action_function format, where the function is from another variable, leading to unnecessary confusion. This also handles if swayosd-client is not installed and swayosd-server is not running it falls back to the default HyDE volume script. |
|
Cool. Will give it a try tomorrow and get back to you. |
solves the issue where exec dispatcher just kills the process. Note we can run the daemon on user level but we need to trick this deamon as this is intended to run using systemctl we can use | something This way swayosd-libinput stays on the user level. I'm just amaze with this bug. |
|
@rubiin This works on my end. Also, swayosd is snappier than other OSD I tried. |
works on mine too |
|
This works as intended and shouldn't give problems if users do not have Swayosd. We can Merge this first then refine the other PR? How about that? |
|
Lets get this merged |
Pull Request
Description
A different approach from this #1818.
This way we can adhere to the original configuration without breaking legacy functions.
The waybar modules,keybindings.conf will not be touched.
Should I add these in
./hyprland.conftoo?hyprdots/Configs/.config/hypr/hyprland.conf
Line 41 in f92564a
Needs #1818 to be resolved first.
Should resolve the ff:
Added
volumecontrol.sh -tto toggle output device from here https://discord.com/channels/1200448076620501063/1283781653310734418/1283851047554781324Fixes:
The old script do not have the ability to toggle mute a player. This impl should be useful.
Type of change
Please put an
xin the boxes that apply:Checklist
Please put an
xin the boxes that apply:Screenshots
(if appropriate)
Additional context
This PR is not yet complete and will be discussed here #1818