From 16a101833b23ed87c7986740ebde09bc27447542 Mon Sep 17 00:00:00 2001 From: EinEtwas Date: Sun, 20 Oct 2024 23:45:10 +0200 Subject: [PATCH] feat: add alias to turn my light off --- home/zsh.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/zsh.nix b/home/zsh.nix index 1cc0f63..9957c45 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -6,6 +6,7 @@ shellAliases = { os-update = "nh os switch /home/rhea/nix-config/"; os-upgrade = "cd ~/nix-config && nix flake update && nh os switch /home/rhea/nix-config/"; + light-off = "echo -n \"{\\\"id\\\":1,\\\"method\\\":\\\"setState\\\",\\\"params\\\":{\\\"state\\\":false}}\" | nc -u -w 1 192.168.178.28 38899"; }; autosuggestion = {