From 23dae8ebc56db3380b5dc4c13aec7894620c2a34 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Wed, 6 Dec 2023 20:10:36 +0100 Subject: feat(users/Profpatsch/aliases): bell. bell. Change-Id: If9385d0dfbdd3eda9a2cad6b1cabb3d938987195 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10206 Autosubmit: Profpatsch Reviewed-by: Profpatsch Tested-by: BuildkiteCI --- users/Profpatsch/aliases.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'users') diff --git a/users/Profpatsch/aliases.nix b/users/Profpatsch/aliases.nix index 6a1c2c1a63c3..109de8ce33c7 100644 --- a/users/Profpatsch/aliases.nix +++ b/users/Profpatsch/aliases.nix @@ -72,4 +72,17 @@ depot.nix.readTree.drvTargets { "*\${2}*" "$@" ]; + + bell = depot.nix.writeExecline "bell" { } [ + "if" + [ + "pactl" + "upload-sample" + "${pkgs.sound-theme-freedesktop}/share/sounds/freedesktop/stereo/complete.oga" + "bell-window-system" + ] + "pactl" + "play-sample" + "bell-window-system" + ]; } -- cgit 1.4.1