Skip to content

Conversation

@Sawy7
Copy link

@Sawy7 Sawy7 commented Jul 10, 2022

Hey, I had an idea for very simple plugin system. This way anyone can write a simple script/plugin in basically any programming language. All one has to do is specify the script as a normal command. Pipewire audio switcher plugin provided as a working example.

@cozyGalvinism
Copy link

This would be fine... if it wasn't ruining opening regular applications, as the call with .communicate blocks the UI until the application is closed again... so if anything, there should be a UI toggle for this.

If that toggle is set, there will be a call to .communicate and if it isn't, there won't

@thomas-louvigne
Copy link

it could work without a script in one line, but "command" text area don't allow the ; ...

DEFAULT_SINK=$(wpctl status | grep "GP106 High Definition Audio Controller" | grep "\d+" -Po | head -n 1); wpctl set-default $DEFAULT_SINK ; notify-send "Switched to Louder"

@coolapso
Copy link

HI, seems the main project as reached a stale state as the project owner seems to have disappeared, and we are trying to keep it alive.

you are welcome to participate in the discussion here: #357 so we can actually decide a path forward and hopefully accept your contribution into it.

@coolapso
Copy link

@Sawy7 feel free to move this PR to: https://github.com/streamdeck-linux-gui/streamdeck-linux-gui

please be sure to read the new contribution guide specially in regard to git commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants