active-icon-theme-path
v2.0.0
Published
Get the path to the active icon theme. Works on Ubuntu only.
Downloads
4
Maintainers
Readme
#active-icon-theme-path
Get the path to the currently used icon theme.
Install
$ npm install --save active-icon-theme-path
Tested on Ubuntu.
Usage
var iconThemePath = require('active-icon-theme-path');
iconThemePath().then(path => {
console.log(path);
//=> '/usr/share/icons/name-of-the-active-icon-theme'
});
License
MIT © Tekeste G