Skip to content

Check if the current session runs Cinnamon desktop

License

Notifications You must be signed in to change notification settings

t1st3/is-cinnamon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-cinnamon Build Status Travis

Check if the current session runs Cinnamon desktop.

Install

$ npm install --save is-cinnamon

Usage

const isCinnamon = require('is-cinnamon');

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

API

isCinnamon()

Returns a Promise that resolves either to true or false.

Related

License

MIT © t1st3