feat(shell): use windows 10 notification sound as bell
This commit is contained in:
parent
2ccbf79bb5
commit
7825c4add2
2 changed files with 15 additions and 0 deletions
|
|
@ -1,5 +1,20 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
|
||||||
|
bell =
|
||||||
|
let
|
||||||
|
play = lib.getExe' pkgs.sox "play";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
"command" = {
|
||||||
|
program = "${play}";
|
||||||
|
args = [ "${./src/win10notify.mp3}" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
BIN
home/wm/src/win10notify.mp3
Normal file
BIN
home/wm/src/win10notify.mp3
Normal file
Binary file not shown.
Loading…
Reference in a new issue