From b7482c6871c959f3dc70c9f2186e5a10a2d29cf6 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 10 Jan 2025 11:28:35 -0600 Subject: [PATCH] Enable countdown to take human-readable short times --- modules/home-manager/default.nix | 8 +++++++ .../home-manager/scripts/common/bin/countdown | 23 ++++++++++++++++--- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index 09ddee3..bf4c192 100644 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -2006,6 +2006,14 @@ "git.hq.bill.com" = { user = "git"; }; + "steam-deck-oled" = { + user = "deck"; + hostname = "sdo"; + }; + "steam-deck" = { + user = "deck"; + hostname = "steamdeck"; + }; work = { user = "daniel.flanagan"; }; diff --git a/modules/home-manager/scripts/common/bin/countdown b/modules/home-manager/scripts/common/bin/countdown index 44254ff..2a82002 100755 --- a/modules/home-manager/scripts/common/bin/countdown +++ b/modules/home-manager/scripts/common/bin/countdown @@ -3,15 +3,32 @@ function usage { echo "countdown - exit after a certain amount of time has passed" echo " Usage:" - echo " countdown && command..." + echo " countdown