is-gnome
v4.0.0
Published
Check if the current session runs Gnome desktop
Downloads
43
Maintainers
Readme
is-gnome
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
- desktop-env | A desktop environment detector based on this module and the following ones
- is-cinnamon | Check if the current session runs Cinnamon desktop.
- is-kde | Check if the current session runs KDE desktop.
- is-lxde | Check if the current session runs LXDEdesktop.
- is-mate | Check if the current session runs Mate desktop.
- is-sugar | Check if the current session runs Sugar desktop.
- is-unity | Check if the current session runs Unity desktop.
- is-xfce | Check if the current session runs XFCE desktop.
License
MIT © t1st3