nixos-configs/config/ags/js/misc/close-all.js

7 lines
133 B
JavaScript
Raw Normal View History

export const closeAll = () => {
ags.App.windows.forEach(w => {
if (w.name != 'bar')
ags.App.closeWindow(w.name)
});
};