arreliny-term 0.1.1

A simple terminal for keeping multiple shells in one window
use eframe::egui;
use std::process::Command;
use std::thread;

pub(crate) fn read_primary_selection() -> Option<Vec<u8>> {
    None
}

pub(crate) fn publish_primary_selection(_: String) {}

pub(crate) fn open_uri(uri: String) {
    thread::spawn(move || {
        let _ = Command::new("open").arg(uri).status();
    });
}

pub(crate) fn play_bell() {
    thread::spawn(|| {
        let _ = Command::new("afplay")
            .arg("/System/Library/Sounds/Funk.aiff")
            .status();
    });
}

pub(crate) fn desktop_work_area_size() -> Option<egui::Vec2> {
    None
}

pub(crate) fn center_with_compositor() -> bool {
    false
}