Check if the current session runs Gnome desktop


Keywords
gnome, desktop, environment, detect, check, desktop-environment, gnome-desktop, javascript
License
MIT
Install
npm install is-gnome@4.0.0

Documentation

is-gnome Build Status Travis

Check if the current session runs Gnome desktop.

Install

$ npm install --save is-gnome

Usage

const isGnome = require('is-gnome');

isGnome.then(data => {
  console.log(data);
  //=> true or false
});

API

isGnome()

Returns a Promise that resolves either to true or false.

Related

License

MIT © t1st3