Comments (4)
Ya seems reasonable, not sure about windows, but on linux there is a similar pulse audio command which hopefully would work on most distros.
from community.
git blame suggests it was from dwiel, who has this in their repo
https://github.com/dwiel/knausj_talon/blob/f2263040a71f711b43d0949311c959fe68a7dd7b/code/media.py#L9
Is mac only though
from community.
Should we bring that over, for Mac? I think that's the best way to set it, if there's not a Talon API
from community.
It looks like we can also read and set the mute status directly (rather than just sending the keyboard button to toggle it). Although since this won't show the OSD indicator, we probably don't want to use it by default.
$ osascript -e "get volume settings"
output volume:44, input volume:75, alert volume:34, output muted:false
$ osascript -e "set volume output muted true"
$ osascript -e "set volume output muted false"
from community.
Related Issues (20)
- Please provide a way to change settings without modifying the repository HOT 5
- "App not running" error when attempting to focus window
- core/noise.py seems to depend on plugins/mouse/mouse.py HOT 1
- Kotlin support HOT 2
- Change text editing grammar to be more generic HOT 1
- Get community maintainers onto mainline community repo HOT 6
- New user defined modes automatically contain mode switching commands in contradiction to the talon wiki HOT 2
- Cannot use 'attribute' snippet in typescriptreact files HOT 20
- deprecate line_commands for start/end of line
- Fix all existing context matching to be consistent across the repo
- To discuss: "over" and "then" are the same command HOT 1
- Suggest adding break / continue to Python as statements (like in Java) HOT 2
- Creating PR to fix setting.get warnings in draft_talon_helpers.py
- Add toggl support via API
- Add secrets support HOT 4
- There no longer needs to be a distinction between edit.find and user.find
- Question: How to dictate in Spanish? HOT 1
- Copy block command conflicts with cursorless HOT 2
- Remove `engine.py`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from community.