t1st3 / is-gnome

Check if the current session runs Gnome desktop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Check if the current session runs Gnome desktop

License:MIT License


Languages

Language:JavaScript 100.0%