summaryrefslogtreecommitdiffstats
path: root/modules/lidControl.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lidControl.nix')
-rw-r--r--modules/lidControl.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lidControl.nix b/modules/lidControl.nix
index 6beb032..a35e178 100644
--- a/modules/lidControl.nix
+++ b/modules/lidControl.nix
@@ -11,7 +11,7 @@
# usage: vt_is_xserver NUMBER
vt_is_xserver() {
- ${pkgs.iproute}/bin/ss -lp src unix:/tmp/.X11-unix/X* |
+ ${pkgs.iproute2}/bin/ss -lp src unix:/tmp/.X11-unix/X* |
${pkgs.gnused}/bin/sed -n 's|.*/tmp/.X11-unix/X\([0-9]\+\)\>.*|\1|p' |
${pkgs.gnugrep}/bin/grep -Fqx "$1"
}