summaryrefslogtreecommitdiff
path: root/toggles/communication.fish
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-17 17:54:37 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-17 17:54:37 +1100
commitee9977c26753088dfd20006fe3427737419ab264 (patch)
tree72087d2c1916b7faec165d76f21bcc2b35c8c547 /toggles/communication.fish
parentmain: update help (diff)
downloadcaelestia-cli-ee9977c26753088dfd20006fe3427737419ab264.tar.gz
caelestia-cli-ee9977c26753088dfd20006fe3427737419ab264.tar.bz2
caelestia-cli-ee9977c26753088dfd20006fe3427737419ab264.zip
main: special workspace toggles
Diffstat (limited to 'toggles/communication.fish')
-rwxr-xr-xtoggles/communication.fish12
1 files changed, 12 insertions, 0 deletions
diff --git a/toggles/communication.fish b/toggles/communication.fish
new file mode 100755
index 0000000..c9ca00b
--- /dev/null
+++ b/toggles/communication.fish
@@ -0,0 +1,12 @@
+#!/bin/fish
+
+. (dirname (status filename))/util.fish
+
+spawn-or-move '.class == "vesktop"' communication vesktop --enable-features=WebRTCPipeWireCapturer
+
+# Has whatsapp firefox profile
+if grep -q 'Name=whatsapp' ~/.mozilla/firefox/profiles.ini
+ spawn-or-move '.class == "whatsapp"' communication firefox --name whatsapp -P whatsapp 'https://web.whatsapp.com'
+end
+
+hyprctl dispatch togglespecialworkspace communication