summaryrefslogtreecommitdiff
path: root/toggles/communication.fish
blob: 7237d4bafb194b12f1b82be8f99c20dc1ec0236a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/fish

. (dirname (status filename))/util.fish

spawn-or-move '.class == "equibop"' communication equibop

# 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