Skip to content
/ is-gnome Public

Check if the current session runs Gnome desktop

License

Notifications You must be signed in to change notification settings

t1st3/is-gnome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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