is-gnome

Check if the current session runs Gnome desktop

Usage no npm install needed!

<script type="module">
  import isGnome from 'https://cdn.skypack.dev/is-gnome';
</script>

README

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