From 2cbb5f40b72c104bcc01cf57797cfd5e476fdb0d Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Thu, 18 Jan 2024 16:15:15 -0500 Subject: [PATCH] global/shell: add looping lsdisk --- modules/global/shell.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/global/shell.nix b/modules/global/shell.nix index b1fb11e..5b91b8a 100644 --- a/modules/global/shell.nix +++ b/modules/global/shell.nix @@ -92,6 +92,7 @@ in vcat = "mpv"; lsdisk = "lsblk -o name,size,mountpoints,fstype,label,uuid,fsavail,fsuse%"; + lsdiskw = "while true; do clear; lsdisk; sleep 1; done"; mnt = ifSudo "s mount"; umnt = ifSudo "s umount";