summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/simple/xtoggledpms.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tv/5pkgs/simple/xtoggledpms.nix')
-rw-r--r--tv/5pkgs/simple/xtoggledpms.nix16
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 d164ad712..000000000
--- 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
-''