diff options
author | tv <tv@krebsco.de> | 2024-12-03 21:18:05 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2024-12-03 21:18:05 +0100 |
commit | d148d0de777c4d2b707a9d4154a1f7e37ed2d995 (patch) | |
tree | 6a125b38d4615a03b88a2325bfac94cc72ef22ad /modules/lidControl.nix | |
parent | 46aedaff7e9538f39669a2854297b35e36a317d9 (diff) |
treewide: iproute -> iproute2
Diffstat (limited to 'modules/lidControl.nix')
-rw-r--r-- | modules/lidControl.nix | 2 |
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" } |