From 78dc9b099ca2e378d1fab918399a7e238db3d3c6 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Thu, 18 Aug 2022 00:25:57 +0200 Subject: [PATCH] Switch to thunderird --- hm_modules/xidlehook.nix | 2 +- odin/hm.nix | 3 ++- thor/hm.nix | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hm_modules/xidlehook.nix b/hm_modules/xidlehook.nix index 0b702be..abcc501 100644 --- a/hm_modules/xidlehook.nix +++ b/hm_modules/xidlehook.nix @@ -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 $(