node-xfconf-query
v1.1.1
Published
xfconf-query wrapper for nodejs
Downloads
19
Maintainers
Readme
node-xfconf-query
xfconf-query wrapper for nodejs
Install
npm install node-xfconf-query
Import package to the project
TypeScript
import XFConfQuery from "node-xfconf-query";
JavaScript
var XFConfQuery = require("node-xfconf-query");
Usage
List Channels
const channels = XFConfQuery.listChannels();
List Channel Properties
const properties = XFConfQuery.listProperties('xfce4-power-manager');
Read Property Value
const dpmsEnabled = XFConfQuery.readProperty('xfce4-power-manager', '/xfce4-power-manager/blank-on-ac');
Write Property Value
const result = XFConfQuery.writeProperty('xfce4-power-manager', '/xfce4-power-manager/dpms-enabled', false);
XFConfQuery.writeProperty('xfce4-power-manager', '/xfce4-power-manager/blank-on-ac', 0);
Rights and Agreements
License Apache-2.0
Copyright 2020 Andrea Macchieraldo