This repository has been archived on 2024-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
|
import { exec } from 'resource:///com/github/Aylur/ags/utils.js'
|
|
|
|
export function forMonitors(widget) {
|
|
const ws = JSON.parse(exec('hyprctl -j monitors'));
|
|
return ws.map(mon => widget(mon.id));
|
|
}
|