#!/usr/bin/env bash export SIGNAL_USE_WAYLAND=1 export GDK_BACKEND=wayland # messenger first gio launch /etc/profiles/per-user/nathan/share/applications/messenger-chrome.desktop # Split messenger with discord hyprctl dispatch focuswindow "^(chrome-messenger.com__-Default)$" gio launch /etc/profiles/per-user/nathan/share/applications/webcord.desktop # Split messenger with messages hyprctl dispatch focuswindow "^(chrome-messenger.com__-Default)$" gio launch /etc/profiles/per-user/nathan/share/applications/messages.desktop # Split messages with cinny hyprctl dispatch focuswindow "^(chrome-messages.google.com__web-Default)$" gio launch /etc/profiles/per-user/nathan/share/applications/cinny.desktop sleep 1 # split messenger with signal hyprctl dispatch focuswindow "^(chrome-messenger.com__-Default)$" signal-desktop --enable-features=UseOzonePlatform -ozone-platform=wayland & disown