diff options
author | tv <tv@krebsco.de> | 2023-09-11 18:24:28 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-09-13 18:07:11 +0200 |
commit | 0c4f3acb281be6290c55a6e96bc29fab5b5c7a11 (patch) | |
tree | dadaec00477a095273475ac345b2066b4748c399 /tv/5pkgs/simple/xtoggledpms.nix | |
parent | ab1d0479e90f11806d4703ec6fffed3d5f782914 (diff) |
stockholm -> hrm
Diffstat (limited to 'tv/5pkgs/simple/xtoggledpms.nix')
-rw-r--r-- | tv/5pkgs/simple/xtoggledpms.nix | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tv/5pkgs/simple/xtoggledpms.nix b/tv/5pkgs/simple/xtoggledpms.nix deleted file mode 100644 index d164ad7..0000000 --- a/tv/5pkgs/simple/xtoggledpms.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ pkgs }: - -let - grep = "${pkgs.gnugrep}/bin/grep"; - xset = "${pkgs.xorg.xset}/bin/xset"; -in - -pkgs.writeDashBin "xtoggledpms" '' - # usage: xtoggledpms - set -efu - if ${xset} q | ${grep} -qF 'DPMS is Disabled'; then - ${xset} dpms force off - else - ${xset} s off -dpms - fi -'' |