From 0c8fa3a2a270747f3dbb54fe8792f3f0aec997e3 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Mon, 3 Aug 2026 01:22:44 -0400 Subject: Initial commit: combined darwin + guix-linux home-manager flake Supersedes nix-dotfiles (darwin) and guix-dotfiles' ad-hoc nix-home-manager flake (linux). See README.md/MIGRATION.md. --- .../lib/scripts/zoom-mute-status.applescript | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 users/ryan/modules/simple-bar/simple-bar-source/lib/scripts/zoom-mute-status.applescript (limited to 'users/ryan/modules/simple-bar/simple-bar-source/lib/scripts/zoom-mute-status.applescript') diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/scripts/zoom-mute-status.applescript b/users/ryan/modules/simple-bar/simple-bar-source/lib/scripts/zoom-mute-status.applescript new file mode 100755 index 0000000..71288a7 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/scripts/zoom-mute-status.applescript @@ -0,0 +1,17 @@ +property btnTitle : "Mute audio" + +if application "zoom.us" is running then + tell application "System Events" + tell application process "zoom.us" + if exists (menu item btnTitle of menu 1 of menu bar item "Meeting" of menu bar 1) then + set returnValue to "on" + else + set returnValue to "off" + end if + end tell + end tell +else + set returnValue to "" +end if + +return returnValue \ No newline at end of file -- cgit v1.3.1