diff options
-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" + ]; } |