diff options
author | Profpatsch <mail@profpatsch.de> | 2023-12-06T19·10+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-12-06T19·15+0000 |
commit | 23dae8ebc56db3380b5dc4c13aec7894620c2a34 (patch) | |
tree | c90db336cda1ba5aff91d74db0851d18338fc552 /users/Profpatsch | |
parent | 0b524890e91799eecf6557325876478a13682406 (diff) |
feat(users/Profpatsch/aliases): bell. r/7124
bell. Change-Id: If9385d0dfbdd3eda9a2cad6b1cabb3d938987195 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10206 Autosubmit: Profpatsch <mail@profpatsch.de> Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
Diffstat (limited to 'users/Profpatsch')
-rw-r--r-- | users/Profpatsch/aliases.nix | 13 |
1 files changed, 13 insertions, 0 deletions
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" + ]; } |