Comments (4)
Hey I felt this was lacking too, since I rely on the color to help me quickly tell if my mic is hot. Fortunately you can edit the extension code locally to achieve this. Here are the steps:
-
Find the extension source code, for me this was at "~/.config/raycast/extensions/c9ece8c4-784f-48e9-8a7a-7b67ffae12e8/mute-menu-bar.js"
find ~/.config/raycast/extensions/ -name "mute-menu-bar.js"
-
Open the file, find the span of code responsible for the icons, and change it to use your desired
tintColor
:- c=u==0?r.Icon.MicrophoneDisabled:r.Icon.Microphone + c=u==0?{source:r.Icon.MicrophoneDisabled, tintColor:r.Color.Red}:{source:r.Icon.Microphone, tintColor:r.Color.Green}
Then save the file! It'll use the new value the next time you toggle the mute.
You can use any colors as explained in the Raycast Colors docs: https://developers.raycast.com/api-reference/user-interface/colors#color. I figured out how to do this through the Raycast Icons & Images docs: https://developers.raycast.com/api-reference/user-interface/icons-and-images#properties
Going beyond
Ideally we can use command preferences to allow users to choose their desired colors for the enabled and disabled icons, without needing to dive into the source code.
Some docs to make this happen:
- https://developers.raycast.com/information/manifest#preference-properties
- https://developers.raycast.com/api-reference/preferences
from extensions.
Thank you for opening this issue!
๐ @quentin23soleil @danulqua @iamyeizi you might want to have a look.
๐ก Author and Contributors commands
The author and contributors of Quentin23Soleil/mute-microphone
can trigger bot actions by commenting:
@raycastbot close this issue
Closes the issue.@raycastbot rename this issue to "Awesome new title"
Renames the issue.@raycastbot reopen this issue
Reopen the issue.
from extensions.
@parkeraddison thank you so much!
from extensions.
@raycastbot close this issue
from extensions.
Related Issues (20)
- [TidyRead - Streamline Your Daily Reading] Digest generation stopped to work completely HOT 15
- [Open Browsers Profiles] Support "Dev Edition" browsers HOT 1
- [Microsoft Edge] ...TypeError: Cannot read properties of undefined (reading 'profile') g4:new-tab.tsx:25:55 --- 22: } 23: 24: export default function Command() { 25: const [searchText, setSearchText] = useState<string>(); 26: const [profiles] = useCachedState<EdgeProfile[]>(ALL_PROFILES_CACHE_KEY); 27: const [profile] = useCachedState(getCurrentProfileCacheKey(), DEFAULT_PROFILE_ID); 28: const profileHistories = profiles?.map((p) => ({ ...useHistorySearch(p.id, searchText), profile: p })); --- Dr:index.js:11:2490 at ray-navigation-stack Lo:index.js:11:2088 HOT 1
- Make branch and drafts available in search HOT 6
- [Messages] Add command to open chat with a contact HOT 1
- Custom Model names
- [Quick Event] Display new event information after successfully creating the event. HOT 1
- [Arc] Shortcut configuraion HOT 1
- [Arc] Ability to search using Kagi HOT 2
- [Aspect Raytio] Calculate aspect ratio based on entered width and height HOT 5
- [CleanShot X] commands not opening cleanshot action HOT 2
- [ray.so] Request ability to use custom fonts HOT 3
- Typo: Transposed words "parent the action"
- [GitHub Repository Search] Search only within your repositories HOT 3
- [LetMeGoogleThat] Spaces Not Being Replaced with "+" HOT 1
- [Browser Bookmarks] ... HOT 2
- [Reclaim] Join Meeting Command not joining current meeting in reclaim HOT 6
- [Mattermost] the โSearch channelโ command should be able to open the website if we don't have the app HOT 5
- [PYW]... The Pick action doesn't work as intended! HOT 1
- [Messages] Extension automatically closes and reports "Connection interrupted" whenever I attempt to use it HOT 5
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 extensions.