Switch to thunderird

This commit is contained in:
Filippo Berto 2022-08-18 00:25:57 +02:00
parent 0a07445ebc
commit 78dc9b099c
3 changed files with 5 additions and 3 deletions

View file

@ -4,10 +4,10 @@ with lib;
let
xbacklightCmd = "${pkgs.xorg.xbacklight}/bin/xbacklight";
lightLevel = 10;
package = pkgs.writeScriptBin "xidlehook" ''
${pkgs.xidlehook}/bin/xidlehook --detect-sleep "$@"
'';
lightLevel = 10;
saveLightLevel = "${xbacklightCmd} -get > /run/user/$UID/xbacklight_v";
lowerLight = "${xbacklightCmd} -set ${toString lightLevel}";
resetLight = "${xbacklightCmd} -set $(</run/user/$UID/xbacklight_v) || ${xbacklightCmd} -set 100";