Commit 268b5731 authored by sebt3's avatar sebt3

added default behaviour for the brightness key

parent 7ab8925a
......@@ -279,6 +279,11 @@ void init(char const** argv, unsigned int argc) {
global.mouseThread = std::move(std::thread(handleMouse, global.mouse, &global.settings, &global.stop));
handleArgs(argv, argc, global.settings);
global.settings.brightness.normal = "/usr/share/pyra/scripts/pyra-brightkey.sh screen up";
global.settings.brightness.Fn = "/usr/share/pyra/scripts/pyra-brightkey.sh screen down";
global.settings.brightness.Shift = "/usr/share/pyra/scripts/pyra-brightkey.sh key up";
global.settings.brightness.FnShift = "/usr/share/pyra/scripts/pyra-brightkey.sh key down";
if(!global.settings.configFile.empty()) {
loadConfig(global.settings.configFile, global.settings);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment