MCPcopy Create free account

hub / github.com/Jean-Tinland/simple-bar / functions

Functions522 in github.com/Jean-Tinland/simple-bar

↓ 43 callersFunctionuseSimpleBarContext
()
lib/components/simple-bar-context.jsx:18
↓ 31 callersFunctionuseServerSocket
( target, visible, getter, resetWidget, setLoading, userWidgetIndex, )
lib/hooks/use-server-socket.js:19
↓ 25 callersFunctionuseWidgetRefresh
(active, getter, refreshFrequency)
lib/hooks/use-widget-refresh.js:12
↓ 11 callersFunctiononChange
(field, chexbox = false)
lib/components/settings/user-widgets-creator.jsx:125
↓ 4 callersFunctionuseYabaiContext
()
lib/components/yabai-context.jsx:20
↓ 3 callersFunctionformatPriceChange
* Format the price change with a '+' for positive changes * @param {string} priceChange - The price change * @returns {string} The formatted price c
lib/components/data/stock.jsx:208
↓ 3 callersFunctionisObject
(item)
lib/utils.js:234
↓ 2 callersFunctionappendClass
(value, newClass)
lib/utils.js:85
↓ 2 callersFunctioncleanupOutput
(output)
lib/utils.js:605
↓ 2 callersFunctionfilterApps
( app, exclusions, titleExclusions, exclusionsAsRegex, )
lib/utils.js:348
↓ 2 callersFunctionfocusDisplay
* Focus the given display. * * Silently ignores the error thrown when the display is already focused, * which is a known and harmless yabai behavio
lib/yabai.js:116
↓ 2 callersFunctiongetSpaces
()
lib/components/yabai-context.jsx:68
↓ 2 callersFunctionmoveTo
(direction)
lib/components/yabai/space-options.jsx:37
↓ 2 callersFunctionresetWidget
()
lib/components/data/gpu.jsx:54
↓ 2 callersFunctionthemedVariables
(scheme)
lib/styles/core/variables.js:10
↓ 2 callersFunctiontoggleUserWidget
* Toggles the active state of a user widget. * * @param {number} index - The index of the user widget to toggle. * @param {Function} resetWidget -
lib/hooks/use-server-socket.js:191
↓ 2 callersFunctiontoggleWidget
* Toggles the state of a widget and updates the settings accordingly. * * @param {string} widget - The name of the widget to toggle. * @param {Func
lib/hooks/use-server-socket.js:156
↓ 2 callersFunctionupdateCurrentWidget
(widget)
lib/components/settings/settings-widgets.jsx:67
↓ 2 callersFunctionuseAerospaceContext
()
lib/components/aerospace-context.jsx:19
↓ 1 callersFunctionarraysMatch
(arr1, arr2)
lib/utils.js:283
↓ 1 callersFunctionbuildCommand
* Builds the shell command with optional custom icalBuddy path and look-ahead hours. * @param {string} icalBuddyPath - Optional custom path to icalBu
lib/components/data/next-meeting.jsx:43
↓ 1 callersFunctionbuildVariables
()
lib/styles/core/variables.js:88
↓ 1 callersFunctioncheckIfConfigFileExists
()
lib/settings.js:1135
↓ 1 callersFunctioncleanupExpiredCache
* Removes expired cache entries from localStorage to prevent unbounded growth. * Uses a conservative 60-second grace period beyond the longest widget
lib/utils.js:124
↓ 1 callersFunctioncompare
(item1, item2, key)
lib/utils.js:290
↓ 1 callersFunctioncompareObjects
(obj1, obj2)
lib/utils.js:277
↓ 1 callersFunctiondecodeUrl
* Decode a URL that may be URL-encoded * @param {string} url - Possibly encoded URL * @returns {string} Decoded URL
lib/components/data/next-meeting.jsx:70
↓ 1 callersFunctionextractFromSafeLink
* Extract the real URL from a SafeLink wrapper * @param {string} safeLink - SafeLink URL * @returns {string} Extracted real URL or original
lib/components/data/next-meeting.jsx:83
↓ 1 callersFunctionextractMeetingUrl
* Extract meeting URL from event URL or notes * @param {string} url - Event URL * @param {string} notes - Event notes/description * @returns {strin
lib/components/data/next-meeting.jsx:97
↓ 1 callersFunctionfocusBar
* Focuses the bar element by adding the "simple-bar--focused" class to it. * If the bar element is not found, the function does nothing.
lib/utils.js:660
↓ 1 callersFunctionformatTimeUntil
* Format time until meeting * @param {number} minutes - Minutes until meeting * @returns {string} Formatted time string
lib/components/data/next-meeting.jsx:141
↓ 1 callersFunctiongetArguments
(windowManager, yabaiArgs, aerospaceArgs)
index.jsx:259
↓ 1 callersFunctiongetCurrencySymbol
* Get the currency symbol for a given currency code * @param {string} currency - The currency code * @returns {string} The currency symbol
lib/components/data/stock.jsx:194
↓ 1 callersFunctiongetDenominatorToken
* Returns the symbol for a given denomination * @param {string} denomination - The denomination (e.g., "usd", "eur") * @returns {string} The symbol
lib/components/data/crypto.jsx:146
↓ 1 callersFunctiongetIcon
* Returns the appropriate icon component based on the browser name * @param {string} browser - The name of the browser * @returns {JSX.Element} The
lib/components/data/browser-track.jsx:141
↓ 1 callersFunctiongetIcon
* Returns the appropriate icon based on the play/pause state. * @param {boolean} isPaused - Whether the music is paused. * @returns {JSX.Element} Th
lib/components/data/youtube-music.jsx:189
↓ 1 callersFunctiongetIcon
* Gets the appropriate icon based on the player state. * @param {string} playerState - The current state of the player. * @returns {JSX.Element} The
lib/components/data/spotify.jsx:185
↓ 1 callersFunctiongetIcon
* Returns the appropriate weather icon based on the description and time of day * @param {string} description - Weather description * @param {boolea
lib/components/data/weather.jsx:170
↓ 1 callersFunctiongetIcon
* Returns the icon component for a given cryptocurrency identifier * @param {string} identifier - The cryptocurrency identifier * @returns {JSX.Elem
lib/components/data/crypto.jsx:134
↓ 1 callersFunctiongetLabel
* Returns the label for the weather widget * @param {string} location - The location name * @param {string} temperature - The temperature value * @
lib/components/data/weather.jsx:190
↓ 1 callersFunctiongetLastCurrentTab
* Get the last current tab from session storage. * @returns {number} The index of the last current tab.
lib/components/settings/settings-component.jsx:155
↓ 1 callersFunctiongetPosition
* Gets the current geographical position of the user * @returns {Promise<GeolocationPosition>} - The position object
lib/components/data/weather.jsx:210
↓ 1 callersFunctiongetTransform
* Get the transform value for the battery icon based on the percentage * @param {number} value - The battery percentage * @returns {string} The tran
lib/components/data/battery.jsx:159
↓ 1 callersFunctionhashString
* Simple string hash for generating cache keys from command strings. * @param {string} str - The string to hash. * @returns {string} A base-36 hash
lib/utils.js:110
↓ 1 callersFunctionisMiddleClick
* Checks if the event is a middle-click. * @param {MouseEvent} e - The mouse event. * @returns {boolean} True if the event is a middle-click, false
lib/components/data/data-widget.jsx:134
↓ 1 callersFunctionloadExternalConfig
()
lib/settings.js:1165
↓ 1 callersFunctionloadScreens
()
lib/components/simple-bar-context.jsx:61
↓ 1 callersFunctiononChange
(e)
lib/components/settings/settings-inner.jsx:54
↓ 1 callersFunctiononClickProp
(e)
lib/components/data/data-widget.jsx:54
↓ 1 callersFunctiononMouseLeave
()
lib/components/yabai/space.jsx:82
↓ 1 callersFunctiononWidgetChange
(index, field, value)
lib/components/settings/user-widgets-creator.jsx:36
↓ 1 callersFunctionopenCalendarApp
* Open the specified calendar application. * @param {string} calendarApp - The name of the calendar application to open.
lib/components/data/date-display.jsx:115
↓ 1 callersFunctionopenCpuUsageApp
* Open the specified CPU usage monitoring application * @param {string} app - The name of the application to open
lib/components/data/cpu.jsx:144
↓ 1 callersFunctionopenCrypto
* Opens the cryptocurrency price chart * @param {Event} e - The event object * @param {Function} pushMissive - The function to push a notification
lib/components/data/crypto.jsx:157
↓ 1 callersFunctionopenMemoryUsageApp
* Open the specified memory usage application * @param {string} app - The name of the application to open
lib/components/data/memory.jsx:125
↓ 1 callersFunctionopenWeather
* Opens the weather forecast in a new tab * @param {Event} e - The event object * @param {Function} pushMissive - Function to push notifications
lib/components/data/weather.jsx:201
↓ 1 callersFunctionparseMeetingData
* Parse meeting data from shell script output * @param {string} output - Raw command output * @returns {Object|null} Meeting object or null
lib/components/data/next-meeting.jsx:156
↓ 1 callersFunctionparseNotifications
* Parses shell command output into notification objects. * @param {string} output - Raw command output from lsappinfo * @returns {Array<{name: strin
lib/components/data/notifications.jsx:43
↓ 1 callersFunctionparseValue
(arg)
lib/utils.js:59
↓ 1 callersFunctionpruneObsoleteSettings
* Removes obsolete settings from the provided settings object. * * @param {Object} settings - The settings object to prune. * @param {Object} setti
lib/settings.js:1156
↓ 1 callersFunctionpushMissive
(newMissive)
lib/components/simple-bar-context.jsx:98
↓ 1 callersFunctionremoveDisplay
(index)
lib/components/settings/aerospace-display-manager.jsx:29
↓ 1 callersFunctionrenderName
* Renders the wifi network name. * @param {string} name - The network name. * @param {boolean} hideNetworkName - Whether to hide the network name.
lib/components/data/wifi.jsx:149
↓ 1 callersFunctionresetWidget
()
lib/components/data/youtube-music.jsx:53
↓ 1 callersFunctionsaveToConfigFile
* Saves the provided settings to the configuration file. * * @param {Object} newSettings - The new settings to be saved. * @returns {Promise<void>}
lib/settings.js:1114
↓ 1 callersFunctionset
(newSettings)
lib/settings.js:1093
↓ 1 callersFunctionsetMic
* Set the microphone volume. * @param {number} volume - The volume level to set.
lib/components/data/mic.jsx:149
↓ 1 callersFunctionsetSound
* Set the system volume. * @param {number} volume - The volume to set.
lib/components/data/sound.jsx:151
↓ 1 callersFunctionsetSound
* Set the volume of MPD * @param {string} path - The path to the MPD binary * @param {string} host - The MPD host * @param {string} port - The MPD
lib/components/data/mpd.jsx:225
↓ 1 callersFunctiontoggleCaffeinate
* Toggle caffeinate mode on or off * @param {string} system - The system architecture * @param {string} caffeinate - The current caffeinate state *
lib/components/data/battery.jsx:173
↓ 1 callersFunctiontogglePlay
* Toggles play/pause state of the music application. * @param {boolean} isPaused - Whether the music is paused. * @param {string} processName - The
lib/components/data/music.jsx:155
↓ 1 callersFunctiontogglePlay
* Toggles play/pause state of Spotify. * @param {boolean} isPaused - Whether the player is paused.
lib/components/data/spotify.jsx:175
↓ 1 callersFunctiontogglePlay
* Toggle play/pause state of MPD * @param {string} path - The path to the MPD binary * @param {string} host - The MPD host * @param {string} port -
lib/components/data/mpd.jsx:214
↓ 1 callersFunctiontoggleVPN
* Toggle the VPN connection. * @param {boolean} isConnected - Whether the VPN is currently connected. * @param {string} vpnConnectionName - The name
lib/components/data/viscosity-vpn.jsx:126
↓ 1 callersFunctiontoggleWifi
* Toggles the wifi on or off. * @param {boolean} isActive - Whether the wifi is currently active. * @param {string} networkDevice - The network devi
lib/components/data/wifi.jsx:124
↓ 1 callersFunctionupdateTab
(tab)
lib/components/settings/settings-component.jsx:38
FunctionAbleton
(props)
lib/components/icons/library/apple-simulator.jsx:3
FunctionAbleton
(props)
lib/components/icons/library/ableton.jsx:3
FunctionActivity
(props)
lib/components/icons/library/activity.jsx:3
FunctionAdd
(props)
lib/components/icons/library/add.jsx:3
FunctionAerospaceContextProvider
* AerospaceContextProvider component * @param {Object} props - The component props * @param {React.ReactNode} props.children - The child components
lib/components/aerospace-context.jsx:32
FunctionAerospaceDisplayManager
({ defaultValue, onChange })
lib/components/settings/aerospace-display-manager.jsx:14
FunctionAffinityDesigner
(props)
lib/components/icons/library/affinity-designer.jsx:3
FunctionAffinityPhoto
(props)
lib/components/icons/library/affinity-photo.jsx:3
FunctionAffinityPublisher
(props)
lib/components/icons/library/affinity-publisher.jsx:3
FunctionAirmail
(props)
lib/components/icons/library/airmail.jsx:3
FunctionAlfred
(props)
lib/components/icons/library/alfred.jsx:3
FunctionAndroidMessages
(props)
lib/components/icons/library/android-messages.jsx:3
FunctionAndroidStudio
(props)
lib/components/icons/library/android-studio.jsx:3
FunctionAnki
(props)
lib/components/icons/library/anki.jsx:3
FunctionAntigravity
(props)
lib/components/icons/library/antigravity.jsx:3
FunctionAnytype
(props)
lib/components/icons/library/anytype.jsx:3
FunctionAppStore
(props)
lib/components/icons/library/app-store.jsx:3
FunctionApple
(props)
lib/components/icons/library/apple.jsx:3
FunctionAqua
(props)
lib/components/icons/library/aqua.jsx:3
FunctionArc
(props)
lib/components/icons/library/arc.jsx:3
FunctionAtom
(props)
lib/components/icons/library/atom.jsx:3
FunctionAudacity
(props)
lib/components/icons/library/audacity.jsx:3
FunctionBambuStudio
(props)
lib/components/icons/library/bambu-studio.jsx:3
FunctionBank
(props)
lib/components/icons/library/bank.jsx:3
next →1–100 of 522, ranked by callers