Switch to thunderird
This commit is contained in:
parent
0a07445ebc
commit
78dc9b099c
3 changed files with 5 additions and 3 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue